summaryrefslogtreecommitdiff
path: root/themes/trek/layouts/partials/head.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-19 15:33:26 +0200
committermms <michal@sapka.me>2024-05-19 15:33:26 +0200
commitf4bb92435d069f84ce41d4ecae51641872de2270 (patch)
treee830735f772bd789473884dafbeabc8cad63dc8f /themes/trek/layouts/partials/head.html
parente25abc08a5d3e7b94b638d837d26acbc0b79f14b (diff)
feat: themes
Diffstat (limited to 'themes/trek/layouts/partials/head.html')
-rw-r--r--themes/trek/layouts/partials/head.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/trek/layouts/partials/head.html b/themes/trek/layouts/partials/head.html
new file mode 100644
index 0000000..02c2240
--- /dev/null
+++ b/themes/trek/layouts/partials/head.html
@@ -0,0 +1,5 @@
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width">
+<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
+{{ partialCached "head/css.html" . }}
+{{ partialCached "head/js.html" . }}