]> git.ipfire.org Git - ipfire.org.git/commitdiff
history-navigation.html: removed "Read More"
authorRico Hoppe <rico.hoppe@ipfire.org>
Fri, 23 Jun 2023 00:06:03 +0000 (00:06 +0000)
committerRico Hoppe <rico.hoppe@ipfire.org>
Fri, 23 Jun 2023 00:06:03 +0000 (00:06 +0000)
src/templates/blog/modules/history-navigation.html

index 96b3c1889208610f6114d14d8079c24c8c7aeaae..699ffdb31bab10e35383a93e848a60a29af3d86c 100644 (file)
@@ -1,8 +1,6 @@
-<h5>{{ _("Read More") }}</h5>
+<h3 class="title is-3">{{ _("Authors") }}</h3>
 
-<h6>{{ _("Authors") }}</h6>
-
-<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4">
+<!--<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4">
        {% for account in authors %}
                <div class="col mb-4">
                        <div class="row align-items-center">
                        </div>
                </div>
        {% end %}
+</div>-->
+<div class="block">
+       <div class="columns is-multiline is-mobile">
+               {% for account in authors %}
+                       <div class="column is-2 has-text-centered">
+                               <figure class="image is-64x64 is-inline-block">
+                                       <img class="is-rounded" src="{{ account.avatar_url(size=64) }}">
+                               </figure>
+
+                               <h5 class="title is-5 has-text-weight-bold">{{ account.name or account.nickname }}</h5>
+                       </div>
+               {% end %}
+       </div>
 </div>
 
-<h6>{{ _("Years") }}</h6>
+<h6 class="title is-6">{{ _("Years") }}</h6>
 
-<ul class="nav nav-pills nav-fill">
+<ul>
        {% for year in years %}
                <li class="nav-item">
                        <a class="nav-link" href="/blog/years/{{ year }}">{{ year }}</a>
                </li>
        {% end %}
-</ul>
+</ul>
\ No newline at end of file