Create a theme out of my page

This commit is contained in:
finga 2023-02-06 12:20:18 +01:00
commit c3fd40c135
22 changed files with 452 additions and 0 deletions

12
templates/header.html Normal file
View file

@ -0,0 +1,12 @@
<header class="header">
<h1 class="title">{{ config.title }}</h1>
{% if section.title %}
<h2 class="subtitle">{{ section.title }}</h2>
{% endif %}
{% if page.title %}
<h3 class="subtitle">{{ page.title }}</h3>
{% endif %}
<navbar class="navbar">
<a href="{{ config.base_url }}">home</a>
</navbar>
</header>