Skip to content

Commit

Permalink
Merge pull request #8397 from cfpb/story-page-translations
Browse files Browse the repository at this point in the history
Add translation links to story template
  • Loading branch information
csebianlander committed May 10, 2024
2 parents 987b5e1 + a4beb36 commit 16edeb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cfgov/v1/jinja2/v1/story_page.html
Expand Up @@ -26,6 +26,10 @@
{%- endblock %}

{% block content_main %}

{% import 'v1/includes/molecules/translation-links.html' as translation_links with context %}
{{ translation_links.render(modifier_classes='block--flush-top') }}

{% for block in page.content %}
<div class="block{{ ' block--flush-top' if loop.first else '' }}">
{% include_block block %}
Expand Down

0 comments on commit 16edeb6

Please sign in to comment.