aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
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>