Add custom head partial to basic template.

This commit is contained in:
Andrey Romancev 2018-11-17 18:25:24 +03:00
parent a57189d85f
commit 1543bf4e19

View File

@ -30,6 +30,10 @@
{{ partial "site-favicon.html" . }}
{{ end }}
{{ if .Site.Params.custom_head_partial }}
{{ partial .Site.Params.custom_head_partial . }}
{{ end }}
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />