Pārlūkot izejas kodu

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

George Cushen 8 gadi atpakaļ
vecāks
revīzija
a65279eb5d
2 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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>