summaryrefslogtreecommitdiff
path: root/themes/fredo/layouts/baseof.html
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>2025-06-14 13:48:40 +0200
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>2025-06-14 13:48:40 +0200
commite4a8a804aa5353bcaa4403da291e02bd9fcd22db (patch)
tree140e3b62e66c10952392c6c1bb36104d40d4e24a /themes/fredo/layouts/baseof.html
initial version
Diffstat (limited to 'themes/fredo/layouts/baseof.html')
-rw-r--r--themes/fredo/layouts/baseof.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/themes/fredo/layouts/baseof.html b/themes/fredo/layouts/baseof.html
new file mode 100644
index 0000000..92c0ca3
--- /dev/null
+++ b/themes/fredo/layouts/baseof.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="{{ site.Language.LanguageCode }}">
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta charset="utf-8">
+
+ {{ if .Title }}
+ <title>{{ site.Title }} | {{ .Title }}</title>
+ {{ else }}
+ <title>{{ site.Title }}</title>
+ {{ end }}
+ {{ $favicon := resources.Get "favicon.png" }}
+ <link rel="icon" type="image/png" href="{{ $favicon.Permalink }}" sizes="48x48">
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <!-- css, font and favicon are in assets -->
+ {{ $css := resources.Get "style.css" }}
+ <link href="{{ $css.Permalink }}" media="screen, projection" rel="stylesheet" type="text/css">
+ {{ $font := resources.Get "Iwona-Regular.otf" }}
+ <link rel="preload" href="{{ $font.Permalink }}" as="font" type="font/otf">
+
+
+ <!-- This tag is necessary since the modern browsers, the pinnacle of human engineering,
+ trigger CSS transitions on page load without script tags present (Chromium issue 332189, same on FF),
+ This bug is present since 2012. -->
+ <script src="/doesnt_exist.js"></script>
+</head>
+<body>
+ {{ partial "nav.html" . }}
+ <main>
+ <div class="full">
+ {{ block "main" . }}{{ end }}
+ </div>
+ </main>
+</body>
+
+</html>