The old Pelican theme I used to use for mcol.xyz
git clone https://mcol.xyz/code/rice-theme
Log | Files | Refs | README

commit f6cdba7f90954915c6d10dafb6d5ec480d8bc6f0
parent f6641a78ec44aa646a7adf483f414ead38022a19
Author: mcol <mcol@posteo.net>
Date:   Thu, 30 Jul 2020 23:13:48 +0100

make blogroll plain divs

Diffstat:
Mtemplates/blogroll.html | 15+++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/templates/blogroll.html b/templates/blogroll.html @@ -4,25 +4,24 @@ {% block content %} <h1>{{ page.title }}</h1> -<div id='blogroll'> - {{ page.content }} +{{ page.content }} - <ul> +<div id=blogroll> {% for blog in BLOGROLL %} + <div class=blog> {% if blog|length < 4 %} - <li><a href="{{ blog[1] }}">{{ blog[0] }}</a></li> + <a href="{{ blog[1] }}">{{ blog[0] }}</a> {% else %} - <li>{{ blog[0] }} at <a href="{{ blog[1] }}">{{ blog[3] }}</a></li> + {{ blog[0] }} at <a href="{{ blog[1] }}">{{ blog[3] }}</a> {% endif %} + </div> {% if blog|length > 2 %} - <li class="cmnt">{{ blog[2] }}</li> + <div class=cmnt>{{ blog[2] }}</div> {% endif %} {% endfor %} - </ul> - </div> {% endblock %}