Procházet zdrojové kódy

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

George Cushen před 8 roky
rodič
revize
a65279eb5d

+ 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>