1
0
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:
Alan Orth 2020-05-17 22:45:23 +03:00
parent d72552cde3
commit ef714f2192
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

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