about summary refs log tree commit diff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-27 14:04:30 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-27 14:04:30 +0700
commitfa98ab0589d4be1ca89a0538f6826b0037ff9821 (patch)
tree7c019babc4d02a3b7bc8dfb2fb6550fdc58345c7 /layouts/partials/head.html
parent890252ec5e659b439165e0d18ca991ef1bfad9ee (diff)
downloadvictor-fa98ab0589d4be1ca89a0538f6826b0037ff9821.tar.gz
Set up layout and navigation
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index e69de29..86c4a33 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -0,0 +1,10 @@
+{{ $style := resources.Get "css/readable.css" }}
+
+<meta charset="utf-8">
+<meta name="HandheldFriendly" content="True">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="referrer" content="no-referrer-when-downgrade">
+
+<title>{{ if and (.Title) (not .IsHome) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
+<meta name="description" content="{{ .Site.Params.Description }}">
+<link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}">