Add ability to insert custom code into the global <head>. (#17)

* Add ability to insert custom code into the global <head>.
* Fix indentation.
This commit is contained in:
DeedleFake 2016-11-22 14:11:50 -05:00 committed by Alan Orth
parent abfc8ad15c
commit b83b1683a7
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@
{{ if .Site.Params.cookie_consent_info_url }}
{{ partial "cookie-consent.html" . }}
{{ end }}
{{ partial "head-custom.html" . }}
</head>
<body>

View File

@ -0,0 +1 @@
<!-- Create <project-root>/layouts/partials/head-custom.html to overwrite this empty template and put custom code into the <head> section. -->