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/_default/baseof.html | |
parent | fix codeblock tab-index issue (diff) | |
download | blog-4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb.tar.gz |
more little layout tweaks
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0504861..eb8ea10 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,29 +1,14 @@ <!doctype html> <html lang="{{ .Site.Language.LanguageCode }}"> <head> - {{ partial "head.html" . }} - <!-- this is here to make sure that if we can't load CSS the icons don't totally fuck up layout --> - <style> - .icon svg { - width: 1.25em; - height: 1.25em; - } - </style> - {{ range .AlternativeOutputFormats -}} {{ printf ` + {{ partial "head.html" . }} {{ range .AlternativeOutputFormats -}} {{ printf + ` <link rel="%s" type="%s" href="%s" title="%s" /> ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} </head> <body> <a href="#main" class="skip">Skip to content</a> - <nav id="main-nav"> - <div id="site-title">{{.Site.Title}}</div> - <ul> - {{ with .Site.Menus.main }} {{ range . }} - <li><a href="{{ .URL }}">{{ .Name }}</a></li> - {{ end }} {{ end }} - </ul> - </nav> - + {{ partial "header.html" .Site }} <main id="main">{{ block "main" . }}{{ end }}</main> {{ partial "footer.html" . }} </body> |