mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
feat(11ty): add further reading section to definitions
This commit is contained in:
parent
701ceaa964
commit
f5db4c110f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user