Bootstrap Hugo site with PaperMod theme and custom homepage
Sets up the ReGround business site: PaperMod theme (v8.0) as a submodule, pinned Hugo 0.124.1, and a custom homepage hero overriding the theme's default blog-first layout with editable front-matter copy. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{- define "main" }}
|
||||
<section class="hero">
|
||||
{{- with .Params.hero_heading }}
|
||||
<h1 class="hero-heading">{{ . }}</h1>
|
||||
{{- end }}
|
||||
{{- with .Params.hero_subheading }}
|
||||
<p class="hero-subheading">{{ . }}</p>
|
||||
{{- end }}
|
||||
{{- with .Params.intro }}
|
||||
<div class="hero-intro">{{ . | markdownify }}</div>
|
||||
{{- end }}
|
||||
{{- if .Params.cta_text }}
|
||||
<a class="hero-cta" href="{{ .Params.cta_link }}">{{ .Params.cta_text }}</a>
|
||||
{{- end }}
|
||||
</section>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user