feat(11ty): add further reading section to definitions

This commit is contained in:
Oscar 2019-11-15 20:53:14 +01:00
parent 701ceaa964
commit f5db4c110f

View File

@ -14,5 +14,15 @@
{% endfor %}
</ul>
{% endif %}
{%- if definition.data.reading -%}
<h4>Further Reading</h4>
<ul class="list-semicolon">
{% for link in definition.data.reading %}
<li>
<a href="{{link.href}}">{{ link.text }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</div>
</article>