mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Only emit language selector on pages that have translations
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
</section>
|
||||
|
||||
<aside class="page-aside-right">
|
||||
{% if page.translations -%}
|
||||
<div class="block hidden" id="language-selector">
|
||||
<h2>Other Languages</h2>
|
||||
<ul>
|
||||
@@ -98,6 +99,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endif %}
|
||||
</aside>
|
||||
|
||||
{% endblock after_main %}
|
||||
|
||||
Reference in New Issue
Block a user