]> njoseph.me Git - hyde.git/commitdiff
Fix #47: adds hook_head_end partial
authorKevin Wiliarty <kevin.wiliarty@gmail.com>
Sun, 25 Feb 2018 04:12:18 +0000 (23:12 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 27 Feb 2018 00:08:00 +0000 (01:08 +0100)
layouts/partials/head.html
layouts/partials/head_fonts.html [new file with mode: 0644]
layouts/partials/hook_head_end.html [new file with mode: 0644]

index 99806aadf4636cf169d5cbc50d50728a0bd70e9e..20baf8fba7aa858f15c9931ca904c0e13c4f7e87 100644 (file)
@@ -19,7 +19,7 @@
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/syntax.css">
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
-  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">
+  {{ partial "head_fonts.html" . }}
 
   <!-- Icons -->
   <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
@@ -27,4 +27,6 @@
 
   <!-- RSS -->
   <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+
+  {{ partial "hook_head_end.html" . }}
 </head>
diff --git a/layouts/partials/head_fonts.html b/layouts/partials/head_fonts.html
new file mode 100644 (file)
index 0000000..4729eb2
--- /dev/null
@@ -0,0 +1 @@
+  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">
diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html
new file mode 100644 (file)
index 0000000..e69de29