From 60c0f31118d3d7c008626b23d75e9c93bcf0b23d Mon Sep 17 00:00:00 2001 From: Will Estes Date: Tue, 7 Jul 2026 22:04:45 -0400 Subject: [PATCH] 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 --- .gitignore | 3 +++ .gitmodules | 3 +++ .tool-versions | 1 + assets/css/extended/custom.css | 49 ++++++++++++++++++++++++++++++++++ content/_index.md | 13 +++++++++ hugo.toml | 33 +++++++++++++++++++++++ layouts/index.html | 16 +++++++++++ themes/PaperMod | 1 + 8 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 .tool-versions create mode 100644 assets/css/extended/custom.css create mode 100644 content/_index.md create mode 100644 hugo.toml create mode 100644 layouts/index.html create mode 160000 themes/PaperMod diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c3fa73 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +public/ +resources/ +.hugo_build.lock diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..fb31987 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +hugo 0.124.1 diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css new file mode 100644 index 0000000..abbbcd5 --- /dev/null +++ b/assets/css/extended/custom.css @@ -0,0 +1,49 @@ +:root { + --accent: #b5533c; +} + +.dark { + --accent: #e0785f; +} + +.hero { + max-width: var(--main-width); + margin: 12vh auto 10vh; + padding: 0 var(--gap); + text-align: center; +} + +.hero-heading { + font-size: 2.4rem; + line-height: 1.25; + margin: 0 0 1rem; +} + +.hero-subheading { + font-size: 1.25rem; + color: var(--secondary); + margin: 0 0 2.5rem; +} + +.hero-intro { + max-width: 42rem; + margin: 0 auto 2.5rem; + text-align: left; + color: var(--content); + line-height: 1.7; +} + +.hero-cta { + display: inline-block; + padding: 0.75rem 1.75rem; + border-radius: var(--radius); + background: var(--accent); + color: #fff; + font-weight: 600; + text-decoration: none; + transition: opacity 0.15s ease; +} + +.hero-cta:hover { + opacity: 0.85; +} diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..d0e9be7 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,13 @@ +--- +title: "ReGround" +hero_heading: "Your story deserves readers who feel it." +hero_subheading: "ReGround helps fiction authors find the readers who were always meant to find them." +intro: | + Writing a novel is a years-long act of faith. Finding the readers who will + actually connect with it shouldn't be left to chance. I work with authors + to understand both sides of that relationship — what it took to write the + book, and what a reader is searching for when they pick one up — and use + that to build a path between them. +cta_text: "Get in touch" +cta_link: "mailto:hello@reground.org" +--- diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..8ef107f --- /dev/null +++ b/hugo.toml @@ -0,0 +1,33 @@ +baseURL = "https://www.reground.org/" +locale = "en-US" +title = "ReGround" +theme = "PaperMod" + +enableRobotsTXT = true +buildDrafts = false +buildFuture = false +buildExpired = false + +[params] + env = "production" + description = "ReGround helps fiction authors find the readers who were always meant to find them." + author = "Will Estes" + defaultTheme = "auto" + disableThemeToggle = false + ShowReadingTime = false + ShowShareButtons = false + ShowPostNavLinks = false + ShowBreadCrumbs = false + ShowCodeCopyButtons = false + ShowRssButtonInSectionTermList = false + ShowToc = false + disableSpecial1stPost = true + hidemeta = true + mainSections = ["posts"] + + [params.label] + text = "ReGround" + +# Menu is intentionally minimal for now — add Blog/About/Contact +# entries here as those sections come online. +[menu] diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..9bb9356 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,16 @@ +{{- define "main" }} +
+ {{- with .Params.hero_heading }} +

{{ . }}

+ {{- end }} + {{- with .Params.hero_subheading }} +

{{ . }}

+ {{- end }} + {{- with .Params.intro }} +
{{ . | markdownify }}
+ {{- end }} + {{- if .Params.cta_text }} + {{ .Params.cta_text }} + {{- end }} +
+{{- end }} diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..a2eb47b --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit a2eb47bb4b805116dcd34c1605d39835121f8dbe