Kaynağa Gözat

Fix #47: adds hook_head_end partial

Kevin Wiliarty 6 yıl önce
ebeveyn
işleme
155f263d2f

+ 3
- 1
layouts/partials/head.html Dosyayı Görüntüle

@@ -19,7 +19,7 @@
19 19
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
20 20
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/syntax.css">
21 21
   <link rel="stylesheet" href="{{ .Site.BaseURL }}css/hyde.css">
22
-  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">
22
+  {{ partial "head_fonts.html" . }}
23 23
 
24 24
   <!-- Icons -->
25 25
   <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
@@ -27,4 +27,6 @@
27 27
 
28 28
   <!-- RSS -->
29 29
   <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
30
+
31
+  {{ partial "hook_head_end.html" . }}
30 32
 </head>

+ 1
- 0
layouts/partials/head_fonts.html Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">

+ 0
- 0
layouts/partials/hook_head_end.html Dosyayı Görüntüle