]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/blog/author.html
blog: Add history pages
[ipfire.org.git] / src / templates / blog / author.html
index dc50dcaaf3c40a589ad0c4e74526d3a849a504f6..46ed84cf552bc4e82061c1b760fcc27664deb4dc 100644 (file)
@@ -7,14 +7,7 @@
                <div class="card-body">
                        <h5>{{ _("%s's posts") % author.name }}</h5>
 
-                       {% for post in posts %}
-                               <strong class="mb-0">
-                                       <a href="/post/{{ post.slug }}">{{ post.title }}</a>
-                               </strong>
-                               <p class="text-muted small">
-                                       {{ locale.format_date(post.published_at, shorter=True, relative=False) }}
-                               </p>
-                       {% end %}
+                       {% module BlogList(posts) %}
                </div>
        </div>
 {% end block %}