{{ data.title }}
+{{ data.releaseDate }}
+{{ data.description }}
+{{ content }}{% endcomment %}
+ {{ content }}
+
+diff --git a/.eleventy.js b/.eleventy.js index 152f256..48791f7 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -47,7 +47,7 @@ export default async function (eleventyConfig) { }); eleventyConfig.addShortcode('link', function (target, text, attrId, attrClass) { - if (text === '') { + if (!text || text === '') { text = target; } diff --git a/source/screens/demo/examples/songbook.liquid b/source/screens/demo/examples/songbook.liquid new file mode 100644 index 0000000..5329c0a --- /dev/null +++ b/source/screens/demo/examples/songbook.liquid @@ -0,0 +1,39 @@ +--- +title: Songbook +tags: +- demoExample +--- +{% layout 'hippie/simple.liquid' %} + +{% block body %} +
Jahr
+Liederbuch für + Name.
+Gibt es gebunden und hier
+ {% link hippie.placeholders.domain %}.
+ Bestellungen bitte an
+ {% text hippie.placeholders.name %}
+ richten.
Jahr
-Liederbuch für - Name.
-Gibt es gebunden und hier
- {{ ph.link() }}.
- Bestellungen bitte an
- {{ ph.name() }}
- richten.
{{ data.description }}
+{{ content }}{% endcomment %}
+ {{ content }}
+
+