Move from Hugo to Zola
This commit is contained in:
parent
aa8a58141d
commit
4c1aa547e1
51 changed files with 353 additions and 563 deletions
6
templates/macros.html
Normal file
6
templates/macros.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{% macro menu_item(url, name) %}
|
||||
<li>
|
||||
<a href="{{ url }}" {% if current_path==url %} class="active" aria-current="page" {% elif current_path is
|
||||
starting_with(url) and url !="/" %} class="ancestor" aria-current="true" {% endif %}>{{ name }}</a>
|
||||
</li>
|
||||
{% endmacro %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue