pyro/templates/banner.html
Freyja Wildes 61952116b6 Restarted the project from zero
This theme was started years ago when I was first attempting to build a
blog and personal website using Pelican. In February 2025, I retrieved
it from an server I had. It was then in a very early stage. I reworked
it completely with more modern CSS/HTML (things had changed a *lot*).

This theme aims to be simple, accessible, readable. My own needs and
preferences influence the choicies I make.
2025-02-16 14:11:49 +01:00

39 lines
1.4 KiB
HTML

<header>
<div class="banner">
<a href="{{ SITEURL }}">
<img class="logo" src="{{ SITEURL }}/{{ SITEAVATAR }}"></img>
<h1 class="title">{{ SITENAME }}</h1>
<h2 class="subtitle">{{ SITESUBTITLE }}</h2>
</a>
</div>
<div>
<menu>
<li class="menu-item">
<a href="{{ SITEURL }}/"{% if page_name=='index' %} aria-current="page" {% endif %}>
Accueil
</a>
</li>
{% if DISPLAY_PAGES_ON_MENU %}
{% for p in pages %}
<li class="menu-item">
<a href="{{ SITEURL }}/{{ p.url }}" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a>
</li>
{% endfor %}
{% endif %}
{% if DISPLAY_PAGES_ON_MENU %}
{% for cat, null in categories %}
<li class="menu-item">
<div>
<a href="{{ SITEURL }}/{{ cat.url }}" {% if cat==category %} aria-current="page" {% endif %}>{{ cat }}</a>
</div>
</li>
{% endfor %}
<li class="menu-item">
<div>
<a href="{{ SITEURL }}/tags.html" {% if page_name=='tags' %} aria-current="page" {% endif %}>Tags</a>
</div>
</li>
{% endif %}
</menu>
</div>
</header>