summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..f69ca6a
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,54 @@
+{{- $cssMain := resources.Get "theme/main.scss" | resources.ToCSS | fingerprint -}}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="canonical" class="u-url" href="{{ .Permalink }}">
+ <link rel="stylesheet" type="text/css" href="{{ $cssMain.Permalink }}">
+ <link rel="me" href="https://fedi.tyil.nl/@tyil">
+ <link rel="me" href="https://git.tyil.nl">
+ <link rel="me" href="https://sr.ht/~tyil">
+ <link rel="me" href="https://www.tyil.nl" class="h-card">
+ <link rel="me" href="mailto:p.spek@tyil.nl">
+ {{- range .AlternativeOutputFormats }}
+ <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" href="{{ .Permalink }}">
+ {{- end }}
+ <title>{{ .Page.Title }} - {{ .Site.Title }}</title>
+ {{- block "head" . }}
+ {{- end }}
+ </head>
+ <body>
+ {{- block "body" . }}
+ <header id="site-header">
+ <div class="container">
+ <nav class="main">
+ <a href="/" class="brand-name">{{ .Site.Title }}</a>
+ {{- range sort .Site.Sections "Title" }}
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ {{- end }}
+ </nav>
+ </div>
+ </header>
+ <main id="site-main">
+ <div class="container">
+ {{- block "main" . }}{{ end }}
+ </div>
+ </main>
+ <footer id="site-footer">
+ <div class="container">
+ <hr>
+ <p>&copy; 2016 - {{ now.Year }} &ndash; Patrick "tyil" Spek</p>
+ <p>
+ All content is licensed as per the license shown below
+ that content. All other sources (html, css, ...) are
+ released under the terms of the <a
+ href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL,
+ version 3</a> or later.
+ </p>
+ </div>
+ </footer>
+ {{- end }}
+ </body>
+</html>