Преглед изворни кода

header: Add option for including custom HTML
Allows for integrating third party plugins.

George Cushen пре 8 година
родитељ
комит
a65279eb5d
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 0 0
      layouts/partials/head_custom.html
  2. 2 0
      layouts/partials/header.html

+ 0 - 0
layouts/partials/head_custom.html


+ 2 - 0
layouts/partials/header.html

@@ -26,6 +26,8 @@
   <link rel="shortcut icon" href="{{ "/img/favicon.ico" | relURL }}" type="image/x-icon">
   <link rel="canonical" href="{{ .Permalink }}">
 
+  {{ partial "head_custom" . }}
+
   <title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
 
 </head>