summaryrefslogtreecommitdiffhomepage
path: root/themes/hugo-bearblog/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-06-01 17:30:03 -0300
committerLeonardo Santiago <[email protected]>2024-06-01 17:30:03 -0300
commit2ddbc2b056af0585b905606a2c6887d43f9c3b01 (patch)
treebfe1531d2cb9e5728c3d7038f2c086616efd539c /themes/hugo-bearblog/layouts/_default/baseof.html
parent735b245871d94cb6ace8913cd1370b02b5aeb28b (diff)
localize bearblog, update some UI
Diffstat (limited to 'themes/hugo-bearblog/layouts/_default/baseof.html')
m---------themes/hugo-bearblog0
-rw-r--r--themes/hugo-bearblog/layouts/_default/baseof.html43
2 files changed, 43 insertions, 0 deletions
diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog
deleted file mode 160000
-Subproject efc24bc5e95f0ccb88051e1a7d95e8a1404e953
diff --git a/themes/hugo-bearblog/layouts/_default/baseof.html b/themes/hugo-bearblog/layouts/_default/baseof.html
new file mode 100644
index 0000000..6bce2dc
--- /dev/null
+++ b/themes/hugo-bearblog/layouts/_default/baseof.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+
+<head>
+ <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ {{- partial "favicon.html" . -}}
+ <title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
+
+ {{- partial "seo_tags.html" . -}}
+ <meta name="referrer" content="no-referrer-when-downgrade" />
+
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
+
+ {{- partial "style.html" . -}}
+
+ <!-- A partial to be overwritten by the user.
+ Simply place a custom_head.html into
+ your local /layouts/partials-directory -->
+ {{- partial "custom_head.html" . -}}
+</head>
+
+<body>
+ <header>
+ {{- partial "header.html" . -}}
+ </header>
+ <main>
+ {{- block "main" . }}{{- end }}
+ </main>
+ <footer>
+ {{- partial "footer.html" . -}}
+ </footer>
+
+ <!-- A partial to be overwritten by the user.
+ Simply place a custom_body.html into
+ your local /layouts/partials-directory -->
+ {{- partial "custom_body.html" . -}}
+</body>
+
+</html>