feat(11ty): output definition headline and content

This commit is contained in:
Oscar 2019-11-12 15:16:14 +01:00
parent 583e8a734c
commit c1389725c5

View File

@ -1,6 +1,9 @@
<article id={{ definition.data.slug }}>
<h3>{{ definition.data.title}}</h3>
<p>{{ definition.data.flag }}</p>
<article id={{ definition.data.slug }} class="block__word word">
<h3 class="word__title">
{{ definition.data.title}}
<span class="word__speech">{{ definition.data.speech}}</span>
</h3>
{{ definition.templateContent | safe }}
{# <p>{{ definition.data.alt_words }}</p> #}
{%- if definition.data.alt_words -%}
<h4>Alt words</h4>