aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2023-03-25 19:39:49 -0500
committerMichael Hunteman <michael@huntm.net>2023-03-29 14:30:23 -0500
commit92fb5f9aefba9562237bd21e3b35cb529c9efac9 (patch)
tree0ddc990a44086d55fcda97151d402ca38562ef31 /layouts/index.html
parent5a15f71b7dafe41bd83e9dfe989b0c8845eb5d6e (diff)
Remove header and footer partials
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html28
1 files changed, 20 insertions, 8 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fde59c7..a4bdd0d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,8 +1,20 @@
-{{ partial "head.html" . }}
-<body>
- {{ partial "header.html" . }}
- <main>
- {{ .Content }}
- </main>
-</body>
-{{ partial "footer.html" . }}
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <title>{{ .Title }}</title>
+ {{ $style := resources.Get "main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}"/>
+ </head>
+ <body>
+ {{ partial "nav.html" . }}
+ <main>
+ {{ .Content }}
+ </main>
+ </body>
+ <footer>
+ Site content is <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>.
+ Projects are <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU GPL</a>.
+ </footer>
+</html>