feat: Add soungbook example
- Add songbook to demo - Add macro for song - Add style module
This commit is contained in:
parent
024540e389
commit
2e2091a179
5 changed files with 110 additions and 0 deletions
12
source/templates/hippie/macros/_song.njk
Normal file
12
source/templates/hippie/macros/_song.njk
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue