mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
layouts: Fix error in Haven invocation
This commit is contained in:
parent
d72552cde3
commit
ef714f2192
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user