]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/blobdiff - layouts/partials/head.html
Add recent posts to homepage
[dujemihanovic.xyz.git] / layouts / partials / head.html
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644 (file)
index 0000000..65d22e8
--- /dev/null
@@ -0,0 +1,10 @@
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<meta name="description" content="Duje Mihanović's personal website">
+<title>{{ print .Page.Title }} | {{ print .Site.Title }}</title>
+{{ $style := resources.Get "css/style.css" | resources.Minify }}
+<link rel="stylesheet" href="{{ $style.RelPermalink }}?v=1.1.2">
+{{ $index := $.Site.GetPage "/" }}
+{{ range $index.AlternativeOutputFormats }}
+{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
+{{ end }}