Point 'All Posts' link to localized index page

This commit is contained in:
Philipp Oppermann
2019-11-27 15:06:46 +01:00
parent a1020cde7d
commit 8e2e4e7c30

View File

@@ -4,7 +4,11 @@
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %} {% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block header %} {% block header %}
{% if lang != "en" %}
<aside id="all-posts-link"><a href="{{ config.base_url | safe }}/{{ lang }}" title="All Posts">« All Posts</a></aside>
{% else %}
<aside id="all-posts-link"><a href="{{ config.base_url | safe }}" title="All Posts">« All Posts</a></aside> <aside id="all-posts-link"><a href="{{ config.base_url | safe }}" title="All Posts">« All Posts</a></aside>
{% endif %}
{% endblock header %} {% endblock header %}
{% block main %} {% block main %}