Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tombreit committed Mar 18, 2024
1 parent 01059f0 commit 9e89950
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions mytheme/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ <h2>
</a>

<pre>
i18n_build_languages: {{ i18n_build_languages }}
i18n_current_language_config: {{ i18n_current_language_config }}
i18n_current_language: {{ i18n_current_language }}
i18n_alternates: {{ i18n_alternates }}
i18n_build_languages: {{ config.plugins["i18n"].build_languages }}
i18n_current_language_config: {{ config.plugins["i18n"].current_language_config }}
i18n_current_language: {{ config.plugins["i18n"].current_language }}
i18n_alternates: {{ config.plugins["i18n"].alternates }}
</pre>


<h2>
Page context variables
</h2>
Expand All @@ -81,6 +80,18 @@ <h2>
config.plugins["i18n"].all_languages: {{ config.plugins["i18n"].all_languages }}
</pre>

<h2>
build_languages
</h2>

<pre>
i18n_page_locale: {{ i18n_page_locale }}

{% for lang in config.plugins["i18n"].build_languages -%}
- build_languages lang: {{ lang }}
{% endfor %}
</pre>


<h2>
i18n_files_per_language
Expand Down

0 comments on commit 9e89950

Please sign in to comment.