summaryrefslogtreecommitdiffhomepage
path: root/web/layouts/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/layouts/baseof.html')
-rw-r--r--web/layouts/baseof.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/web/layouts/baseof.html b/web/layouts/baseof.html
new file mode 100644
index 0000000..551753b
--- /dev/null
+++ b/web/layouts/baseof.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="{{ site.Language.Locale }}">
+<head>
+ {{ partial "head.html" . }}
+</head>
+<body>
+ <a class="skip" href="#main">Skip to content</a>
+
+ <header class="site">
+ <div class="bar">
+ <a class="brand" href="{{ "/" | relURL }}">
+ <img src="{{ "zash-logo.svg" | relURL }}" alt="" width="30" height="30">
+ <span>zash</span>
+ </a>
+ <nav>
+ {{ range site.Menus.main }}
+ {{ $current := eq .URL $.RelPermalink }}
+ <a href="{{ .URL }}"{{ if $current }} aria-current="page"{{ end }}>{{ .Name }}</a>
+ {{ end }}
+ </nav>
+ </div>
+ </header>
+
+ <main id="main">
+ {{ block "main" . }}{{ end }}
+ </main>
+
+ <footer class="site">
+ <div class="cols">
+ <p>
+ zash &middot; MIT OR Apache-2.0 OR BSD-2-Clause, at your option
+ </p>
+ <p>
+ <a href="{{ site.Params.repo }}">Source</a> &middot;
+ <a href="{{ site.Params.repo }}/issues">Issues</a> &middot;
+ <a href="{{ site.Params.repo }}/blob/main/DESIGN.md">Design notes</a>
+ </p>
+ </div>
+ </footer>
+
+ {{- with resources.Get "js/copy.js" }}
+ {{- $js := . | minify | fingerprint }}
+ <script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}" defer></script>
+ {{- end }}
+</body>
+</html>