forked from em/receptty.org
Používání maker v šablonách
This commit is contained in:
@ -20,11 +20,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subnav">
|
||||
<ul>
|
||||
{% for item in config.extra.menu %}
|
||||
<li><a href="{{ item.path }}">{{ item.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{{ macro::subnav() }}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@ -37,11 +33,9 @@
|
||||
{{ macro::print_recipe(recipe=page) }}
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
||||
|
||||
<div class="pagination">
|
||||
{% if paginator.previous %}<a href="{{ paginator.previous }}">« Předchozí stránka</a> |{% endif %}
|
||||
<span>{{ paginator.current_index }} / {{ paginator.number_pagers }}</span>
|
||||
{% if paginator.next %}| <a href="{{ paginator.next }}">Další stránka »</a>{% endif %}
|
||||
{{ macro::pagination() }}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user