summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/head.html')
-rw-r--r--layouts/_partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html
new file mode 100644
index 0000000..d48a8fe
--- /dev/null
+++ b/layouts/_partials/head.html
@@ -0,0 +1,4 @@
+<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>
+{{ with resources.Get "style.css" }}<link rel="stylesheet" href="{{ .RelPermalink }}">{{ end }}