Skip to content

Commit

Permalink
fix thumbnail url
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-gui committed Jun 16, 2023
1 parent ab68255 commit 4aa1557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{%- set success_notes = page.messages.success ?? [] -%}
{%- set warning_notes = page.messages.warning ?? [] -%}
{%- set error_notes = page.messages.error ?? [] -%}
{%- set thumbnail = page.thumbnailImage.0.src|default(asset('images/w3c-opengraph-image.png', 'website-2021')) -%}
{%- set thumbnail = page.thumbnailImage.0.src|default(absolute_url(asset('images/w3c-opengraph-image.png', 'website-2021'))) -%}
<title>
{%- block documenttitle -%}
{% if error_notes|length > 0 %}
Expand Down

0 comments on commit 4aa1557

Please sign in to comment.