summaryrefslogtreecommitdiff
path: root/themes/hugo-xmin/layouts/partials
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2025-09-11 21:12:26 -0500
committerHunter Kvalevog <hunter@kvog.sh>2025-09-11 21:12:26 -0500
commit039a2f2755e0115b0339fea56d97fd90c4bbc951 (patch)
treef9c410ca8d06efeec9d2db16d3c7f34b9c1d3b28 /themes/hugo-xmin/layouts/partials
Diffstat (limited to 'themes/hugo-xmin/layouts/partials')
-rw-r--r--themes/hugo-xmin/layouts/partials/footer.html8
-rw-r--r--themes/hugo-xmin/layouts/partials/header.html20
2 files changed, 28 insertions, 0 deletions
diff --git a/themes/hugo-xmin/layouts/partials/footer.html b/themes/hugo-xmin/layouts/partials/footer.html
new file mode 100644
index 0000000..e8560f2
--- /dev/null
+++ b/themes/hugo-xmin/layouts/partials/footer.html
@@ -0,0 +1,8 @@
+ <footer>
+ {{ with .Site.Params.footer }}
+ <hr/>
+ {{ replace . "{Year}" now.Year | markdownify}}
+ {{ end }}
+ </footer>
+ </body>
+</html>
diff --git a/themes/hugo-xmin/layouts/partials/header.html b/themes/hugo-xmin/layouts/partials/header.html
new file mode 100644
index 0000000..970ccec
--- /dev/null
+++ b/themes/hugo-xmin/layouts/partials/header.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ .Title }} | {{ .Site.Title }}</title>
+ <link rel="stylesheet" href="{{ "css/style.css" | relURL }}" />
+ <link rel="stylesheet" href="{{ "css/fonts.css" | relURL }}" />
+ </head>
+
+ <body>
+ <nav>
+ <a href="/">Home</a>
+ <a href="/about/">About</a>
+ <ul class="menu">
+ {{ range .Site.Menus.main }}
+ <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
+ {{ end }}
+ </ul>
+ </nav>