refactor(templates): use toplevel <li> tag for items under <ul>

This commit is contained in:
Price Hiller 2024-07-26 11:55:27 -05:00
parent 951abc097c
commit c2d9489b35
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -18,11 +18,9 @@
<div class="articles-container"> <div class="articles-container">
<ul> <ul>
{% for article in articles | sort(attribute="frontmatter.published") | reverse -%} {% for article in articles | sort(attribute="frontmatter.published") | reverse -%}
<a href="/articles/{{ article.link }}"> <li><a href="/articles/{{ article.link }}">
<li>
{{ front_matter_macro::gen(frontmatter=article.frontmatter, link=article.link) }} {{ front_matter_macro::gen(frontmatter=article.frontmatter, link=article.link) }}
</li> </a></li>
</a>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>