A website with materials for learning ancient languages. https://glossa.info/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
1.3 KiB

<footer class="site-footer">
<div style="text-align:center;" class="container">
{% if page.prev %}
{% assign prev_link = page.prev | split: '@' %}
<a href="{{ site.baseurl }}/lessons/{{ page.language }}/{{ page.lang }}/{{ prev_link[1] }}" style="float:left;">← {{ prev_link[0] }}</a>
{% endif %}
{% if page.prev or page.next %}
{% if page.layout == 'vocabulary' or page.type == 'vocabulary' %}
{% assign index_page = 'vocabulary/' %}
{% if page.lang == 'ru' %}
{% assign index_title = 'Словарь' %}
{% elsif page.lang == 'en' %}
{% assign index_title = 'Vocabulary' %}
{% endif %}
{% else %}
{% assign index_page = '' %}
{% if page.lang == 'ru' %}
{% assign index_title = 'Содержание' %}
{% elsif page.lang == 'en' %}
{% assign index_title = 'Table of Contents' %}
{% endif %}
{% endif %}
<a href="{{ site.baseurl }}/lessons/{{ page.language }}/{{ page.lang }}/{{ index_page }}">{{ index_title }}</a>
{% endif %}
{% if page.next %}
{% assign next_link = page.next | split: '@' %}
<a href="{{ site.baseurl }}/lessons/{{ page.language }}/{{ page.lang }}/{{ next_link[1] }}" style="float:right;">{{ next_link[0] }} →</a>
{% endif %}
</div>
<br />
</footer>