diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-02-21 22:11:19 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-02-21 22:11:19 +0300 |
commit | 31b4ffde30681a0a1945ab8ca26672b600fc312b (patch) | |
tree | 263b3e5fe9fa3025e7eb5ae23e0b08cdf0388c27 /templates/page.html | |
parent | f726cdc9a9bbb240c12bdaf666d3dee021c3b9cd (diff) | |
download | yaroslavps.com-31b4ffde30681a0a1945ab8ca26672b600fc312b.tar.gz yaroslavps.com-31b4ffde30681a0a1945ab8ca26672b600fc312b.zip |
Small translation modifications to templates.
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/templates/page.html b/templates/page.html index 06dca0b..4cf03c7 100644 --- a/templates/page.html +++ b/templates/page.html @@ -31,23 +31,20 @@ </p> {% endif %} {% if page.translations | length > 1 %} +<p class="publish-date"> +{{ trans(key="also_read", lang=lang) }} {% for trans in page.translations %} {% if trans.lang != lang %} {% if trans.lang == "ru" %} -<p class="publish-date"> - Доступно на русском: <a href="{{ trans.permalink }}">{{ trans.title }}</a> -</p> + <a href="{{ trans.permalink }}">Русский</a>. {% elif trans.lang == "es" %} -<p class="publish-date"> - Disponible en español: <a href="{{ trans.permalink }}">{{ trans.title }}</a> -</p> + <a href="{{ trans.permalink }}">Español</a>. {% else %} -<p class="publish-date"> - Available in English: <a href="{{ trans.permalink }}">{{ trans.title }}</a> -</p> + <a href="{{ trans.permalink }}">English</a>. {% endif %} {% endif %} {% endfor %} +</p> {% endif %} {% endblock %} {% block content %} |