]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/blob - layouts/_default/baseof.html
Small site revamp
[dujemihanovic.xyz.git] / layouts / _default / baseof.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4 {{ partial "meta.html" . }}
5 {{ $style := resources.Get "css/style.css" | resources.Minify }}
6 <link rel="stylesheet" href="{{ $style.RelPermalink }}?v=1.1.2">
7 {{ $index := $.Site.GetPage "/" }}
8 {{ range $index.AlternativeOutputFormats }}
9 {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
10 {{ end }}
11 </head>
12
13 <body>
14 {{ partial "nav.html" }}
15 <main>
16 {{ block "main" . }}
17 {{ end }}
18 </main>
19 <footer>
20 {{ with $index.OutputFormats.Get "RSS" }}
21 <p><a href="{{ .RelPermalink }}">RSS feed</a> | This site is <a href="https://git.dujemihanovic.xyz/?p=dujemihanovic.xyz.git;a=summary">free software</a></p>
22 {{ end }}
23 </footer>
24 </body>
25 </html>