Skip to content

Commit

Permalink
layouts: Fix error in Haven invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorth committed May 17, 2020
1 parent d72552c commit ef714f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/cookie-consent.html
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ef714f2

Please sign in to comment.