summaryrefslogtreecommitdiff
path: root/layouts/_partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials')
-rw-r--r--layouts/_partials/footer.html11
-rw-r--r--layouts/_partials/head.html9
-rw-r--r--layouts/_partials/header.html7
3 files changed, 27 insertions, 0 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html
new file mode 100644
index 0000000..cdda1ac
--- /dev/null
+++ b/layouts/_partials/footer.html
@@ -0,0 +1,11 @@
+<footer>
+<hr>
+
+<p><a href="#">Back to top.</a></p>
+
+<p>This website was built using <a href="https://gohugo.io">Hugo</a> and a custom minimal theme.</p>
+
+<p>This website contains no JavaScript.</p>
+
+<p>This work is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a><img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" alt="" style="max-width: 1em;max-height:1em;margin-left: .2em;"></p>
+</footer>
diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html
new file mode 100644
index 0000000..54d333a
--- /dev/null
+++ b/layouts/_partials/head.html
@@ -0,0 +1,9 @@
+<head>
+ <title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
+ <link rel="canonical" href="{{ .Site.BaseURL }}">
+ <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
+ <link rel="stylesheet" type="text/css" href="/style.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="robots" content="index, follow">
+ <meta charset="utf-8">
+</head>
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html
new file mode 100644
index 0000000..762a4bc
--- /dev/null
+++ b/layouts/_partials/header.html
@@ -0,0 +1,7 @@
+<header>
+ <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
+ <hr>
+ {{ range .Site.Menus.nav }}
+ <a href="{{ .URL }}">{{ .Name }}</a><br>
+ {{ end }}
+</header>