feat: Add soungbook example

- Add songbook to demo
- Add macro for song
- Add style module
This commit is contained in:
sthag 2025-04-12 16:41:47 +02:00
parent 024540e389
commit 2e2091a179
5 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{% macro simple(index, data, content) %}
<article class="songbook_song">
<header>
<h2>{{ data.title }}</h2>
<h6>{{ data.releaseDate }}</h6>
<p>{{ data.description }}</p>
</header>
{# <pre class="pre_code"><code>{{ content }}</code></pre> #}
{{ content | safe }}
<footer>{{ index }}</footer>
</article>
{% endmacro %}