aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.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/_default/single.html
parent5a15f71b7dafe41bd83e9dfe989b0c8845eb5d6e (diff)
Remove header and footer partials
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html31
1 files changed, 21 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5788c52..f792e75 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,10 +1,21 @@
-{{ partial "head.html" . }}
-{{ partial "header.html" . }}
-
-<main>
- <article>
- {{ .Content }}
- </article>
-</main>
-
-{{ 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>
+ <h2>{{ .Title }}</h2>
+ {{ .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>