forked from Deuxfleurs/guide.deuxfleurs.fr
20 lines
No EOL
679 B
HTML
20 lines
No EOL
679 B
HTML
{% macro render_header() %}
|
|
{% set section = get_section(path="_index.md") %}
|
|
<a href="{{ section.permalink }}">
|
|
<div class="logo">
|
|
<img src="{{ get_url(path=config.extra.juice_logo_path) }}" alt="logo">
|
|
{{ config.extra.juice_logo_name }}
|
|
</div>
|
|
</a>
|
|
|
|
<nav>
|
|
{% for page in section.pages %}
|
|
<a class="nav-item subtitle-text" href="{{ page.permalink }}">{{ page.title }}</a>
|
|
{% endfor %}
|
|
{% if config.extra.juice_extra_menu %}
|
|
{% for menu in config.extra.juice_extra_menu %}
|
|
<a class="nav-item subtitle-text" href="{{ menu.link }}">{{ menu.title }}</a>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</nav>
|
|
{% endmacro render_header %} |