Initial Sunflower Acres Hugo site scaffold

This commit is contained in:
2026-07-21 17:26:00 -04:00
commit f576bf0672
16 changed files with 407 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if .IsHome }}{{ .Site.Title }} &mdash; {{ .Site.Params.tagline }}{{ else }}{{ .Title }} &mdash; {{ .Site.Title }}{{ end }}</title>
<style>{{ (resources.Get "css/style.css").Content | safeCSS }}</style>
</head>
<body>
<header class="site-header">
<a class="brand" href="{{ "/" | relURL }}">{{ .Site.Title }}</a>
<nav>
<a href="{{ "/" | relURL }}">Home</a>
<a href="{{ "/shop/" | relURL }}">Shop</a>
<a href="{{ "/about/" | relURL }}">About</a>
</nav>
</header>
<main>
{{ block "main" . }}{{ end }}
</main>
<footer class="site-footer">
<p>&copy; {{ now.Year }} {{ .Site.Title }}</p>
</footer>
</body>
</html>
+4
View File
@@ -0,0 +1,4 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}