achubb_website/templates/links.html

19 lines
433 B
HTML

<!-- prettier-ignore -->
{% extends "base.html" %}
{% block content %}
<h2>Links</h2>
<ul class="no-bul">
{% for article in articles %}
<li><a href={{article.url}}>{{article.title}}</a>
{% match article.description %}
{% when Some with (description) %}
:<br>{{description}}
{% when None %}
{% endmatch %}
</li>
<br>
{% endfor %}
</ul>
{% endblock %}