miniblog

Miniblog: A command-line static blog system in Common Lisp
Log | Files | Refs | README | LICENSE

commit 4b210b7b5beccddf110bd2890f633852cfddb51b
parent 4c63d794755e2a468c984f84b9c7103eceb638d7
Author: Decay <decay@todayiwilllaunchmyinfantsonintoorbit.com>
Date:   Wed, 23 Oct 2024 21:40:24 -0700

Make the left menu a little nicer looking

Diffstat:
Mtemplates/template.dtl | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/templates/template.dtl b/templates/template.dtl @@ -16,7 +16,8 @@ div#miniblog-rss { clear: both; } table.calendar { padding: 10px; float: left; } table.calendar td { width: 25%; } - ul.page-list { list-style: none; margin: 0; padding: 0 0 0 10px; } + #miniblog-left ul { list-style: none; margin: 0; padding: 0; } + #miniblog-left ul.page-list { padding: 0 0 0 10px; } @media screen and (max-aspect-ratio: 1/1) { section#miniblog-left { float: none; width: 100%; } section#miniblog-main { float: none; width: 100%; } @@ -63,19 +64,20 @@ {% if pages %} {% page-tree path pages root-uri %} {% endif %} - <br> {% if links %} + <ul> {% for link in links %} {% if link.link %} - <a href="{{ link.link }}">{{ link.text }}</a><br> + <li><a href="{{ link.link }}">{{ link.text }}</a></li> {% else %} {% if link.text %} - {{ link.text }}<br> + <li>{{ link.text }}</li> {% else %} - <br> + </ul><ul> {% endif %} {% endif %} {% endfor %} + </ul> {% endif %} {% endblock %} </section>