瀏覽代碼

Fix #47: adds hook_head_end partial

Kevin Wiliarty 6 年之前
父節點
當前提交
155f263d2f
共有 3 個檔案被更改,包括 4 行新增1 行删除
  1. 3
    1
      layouts/partials/head.html
  2. 1
    0
      layouts/partials/head_fonts.html
  3. 0
    0
      layouts/partials/hook_head_end.html

+ 3
- 1
layouts/partials/head.html 查看文件

@@ -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 查看文件

@@ -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 查看文件