diff options
| author | Joseph Elliott Hand <jhand@hawaii.edu> | 2026-07-19 21:46:16 -1000 |
|---|---|---|
| committer | Joseph Elliott Hand <jhand@hawaii.edu> | 2026-07-19 21:56:48 -1000 |
| commit | 650aef75480b773661e53a751337abef3b2abd47 (patch) | |
| tree | ae9250fc8a79a6c05298d045f591c2b8b540238b /layouts/_partials | |
| download | josephhand.space-650aef75480b773661e53a751337abef3b2abd47.tar.gz | |
Initial commit
Signed-off-by: Joseph Elliott Hand <jhand@hawaii.edu>
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/footer.html | 11 | ||||
| -rw-r--r-- | layouts/_partials/head.html | 9 | ||||
| -rw-r--r-- | layouts/_partials/header.html | 7 |
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> |
