1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-08 05:26:00 +02:00

layouts: Fix error in Haven invocation

This commit is contained in:
2020-05-17 22:45:23 +03:00
parent d72552cde3
commit ef714f2192

View File

@ -4,8 +4,8 @@
<script>
Haven.create({
notification: {
{{ with .Site.Params.cookie_consent_info_url | absURL -}}
policyUrl: {{ . }},
{{ with .Site.Params.cookie_consent_info_url -}}
policyUrl: {{ . | absURL }},
{{- end }}
styles: {
background: '#428bca',