2023-04-02 16:42:13 +02:00
|
|
|
|
|
|
|
|
|
{% macro page_back_link(page) %}
|
|
|
|
|
{% set top_section = get_section(path=page.ancestors | last) %}
|
2023-10-24 10:13:42 +02:00
|
|
|
|
<a class="previous" href="{{ top_section.permalink | safe }}">‹ back</a>
|
2023-04-02 16:42:13 +02:00
|
|
|
|
{% endmacro page_back_link %}
|
|
|
|
|
|
|
|
|
|
{% macro section_back_link(section) %}
|
|
|
|
|
{% set top_section = get_section(path=section.ancestors | last) %}
|
2023-10-24 10:13:42 +02:00
|
|
|
|
<a class="previous" href="{{ top_section.permalink | safe }}">‹ back</a>
|
2023-04-02 16:42:13 +02:00
|
|
|
|
{% endmacro section_back_link %}
|