Refactor and modularize

This commit is contained in:
2024-01-23 11:38:50 -06:00
parent 1265d3d4a9
commit 9d84151ee5
13 changed files with 112 additions and 111 deletions

View File

@ -1,5 +1,5 @@
<section class="postlist">
{% if showPostListHeader %}<h2>Latest Posts</h2>{% endif %}
{% if showPostListHeader %}<h2>{{ metadata.postlistHeaderText }}</h2>{% endif %}
<div class="postlist-item-container">
{% for post in postslist | reverse %}
<article class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}">