mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
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:
parent
abfc8ad15c
commit
b83b1683a7
@ -23,6 +23,8 @@
|
|||||||
{{ if .Site.Params.cookie_consent_info_url }}
|
{{ if .Site.Params.cookie_consent_info_url }}
|
||||||
{{ partial "cookie-consent.html" . }}
|
{{ partial "cookie-consent.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ partial "head-custom.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
1
layouts/partials/head-custom.html
Normal file
1
layouts/partials/head-custom.html
Normal 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. -->
|
Loading…
Reference in New Issue
Block a user