diff options
author | wires <wires@noreply.wires.systems> | 2025-04-01 13:04:51 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-04-01 13:04:51 -0400 |
commit | 4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb (patch) | |
tree | b9e53ed028897bf17c6e48d2d4ff87c7972eb745 /layouts/partials | |
parent | fix codeblock tab-index issue (diff) | |
download | blog-4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb.tar.gz |
more little layout tweaks
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 6 | ||||
-rw-r--r-- | layouts/partials/header.html | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e385cf0..52c7a99 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,10 +1,10 @@ <footer> - Made with <a href="https://gohugo.io">Hugo</a>. All content is openly licensed - via + Made with <a href="https://gohugo.io">Hugo</a>. All content is licensed under <a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="license noopener noreferrer" - >CC BY-SA 4.0</a > + CC BY-SA 4.0 + </a> </footer> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..bf7f2f2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,10 @@ +<header> + <p id="site-title">{{.Title}}</p> + <nav id="main-nav"> + <ul> + {{ with .Menus.main }}{{ range . }} + <li><a href="{{ .URL }}">{{ .Name }}</a></li> + {{ end }}{{ end }} + </ul> + </nav> +</header> |