Compare commits
No commits in common. "2e2091a179f37eb6df5f900efd2c57ec25d61c75" and "04a26a22894d25be81e832663bdf3fe32fcdc138" have entirely different histories.
2e2091a179
...
04a26a2289
9 changed files with 2 additions and 112 deletions
|
|
@ -7,7 +7,7 @@ tags:
|
|||
{% set bodyClass = "body_portal" %}
|
||||
|
||||
{% extends "demo/_default.njk" %}
|
||||
{% import "hippie/macros/_gate.njk" as gate %}
|
||||
{% import "demo/macros/_gates.njk" as gate %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,51 +0,0 @@
|
|||
---
|
||||
title: Songbook
|
||||
tags:
|
||||
- demoExample
|
||||
---
|
||||
{% set pageBase = "../" %}
|
||||
{% set pageId = page.fileSlug %}
|
||||
|
||||
{% extends "demo/_default.njk" %}
|
||||
{% import "hippie/macros/_placeholder.njk" as ph %}
|
||||
{% import "hippie/macros/_song.njk" as song %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<!-- {{ page.fileSlug }}.page -->
|
||||
<div class="sec_main_center">
|
||||
<header class="header_txt">
|
||||
<h1>Titel</h1>
|
||||
<p>Jahr</p>
|
||||
</header>
|
||||
<nav role="doc-toc">
|
||||
<h2>Inhaltsverzeichnis</h2>
|
||||
<ul>
|
||||
{%- for song in collections.song -%}
|
||||
<li>
|
||||
<a href="{{ song.page.url }}">{{ song.data.title }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</nav>
|
||||
<h2>Vorwort</h2>
|
||||
<p>Liederbuch für
|
||||
<em>Name</em>.</p>
|
||||
<p>Gibt es gebunden und hier
|
||||
{{ ph.link() }}.<br/>
|
||||
Bestellungen bitte an
|
||||
{{ ph.name() }}
|
||||
richten.</p>
|
||||
<hr class="hr_double hr_dotted">
|
||||
{%- for piece in collections.song -%}
|
||||
{{ song.simple(loop.index0, piece.data, piece.content) }}
|
||||
{%- endfor -%}
|
||||
<hr/>
|
||||
<address>{{ ph.name() }}</address>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
tags:
|
||||
- songbook
|
||||
- song
|
||||
title: "Interpret - Titel"
|
||||
releaseDate: JJJJ
|
||||
description: Text
|
||||
---
|
||||
~~~
|
||||
[verse 1]
|
||||
strophe 1
|
||||
|
||||
[chorus]
|
||||
refrain
|
||||
|
||||
[verse 2]
|
||||
strophe 2
|
||||
|
||||
[chorus]
|
||||
[bridge]
|
||||
überleitung
|
||||
|
||||
[interlude]
|
||||
[chorus]
|
||||
[outro]
|
||||
~~~
|
||||
|
|
@ -8,7 +8,7 @@ tags:
|
|||
{% set bodyClass = "body_new" %}
|
||||
|
||||
{% extends "demo/_app.njk" %}
|
||||
{% import "hippie/macros/_state.njk" as state %}
|
||||
{% import "demo/macros/_states.njk" as state %}
|
||||
|
||||
{% block title %}{{ title }}
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,5 @@
|
|||
// -----------------------------------------------------------------------------
|
||||
@import "modules/card/card_module";
|
||||
@import "modules/portal/portal_module";
|
||||
@import "modules/songbook/songbook_module";
|
||||
@import "modules/demo/demo_module";
|
||||
// @import "modules/YOUR-MODULE/YOUR-FILES";
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
.songbook_song {
|
||||
pre {
|
||||
@extend .pre_code
|
||||
}
|
||||
|
||||
header {
|
||||
h2 {
|
||||
margin-bottom: $space_basic;
|
||||
}
|
||||
|
||||
h6 {
|
||||
color: $color_brightest;
|
||||
}
|
||||
|
||||
h2+h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: $space_small;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
{% 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