Skip to content

Commit

Permalink
Update web/themes/custom/os2forms_selvbetjening_theme/templates/page/…
Browse files Browse the repository at this point in the history
…page--4xx.html.twig

Co-authored-by: Mikkel Ricky <[email protected]>
  • Loading branch information
martinyde and rimi-itk authored Dec 13, 2023
1 parent aa8466d commit 46cc4d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
{{ page.content }}
{% if logged_in %}
<p>
{{ 'Here is a suggestion to what you can do. Try to log out of <a href="/user/logout?destination=@requestUri">@siteName</a>'|t({'@requestUri': requestUri, '@siteName': siteName}) }}
{% set url = path('/user/logout', {destination: requestUri}) %}
{{ 'Here is a suggestion to what you can do. Try to log out of <a href=":url">@siteName</a>'|t({':url': url, '@siteName': siteName}) }}
</p>
{% endif %}
{% endblock %}

0 comments on commit 46cc4d7

Please sign in to comment.