miniblog

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

commit ea0de3f88915002b1d044977f12fa9ed91d9de87
parent f0be4dfe77f6f82b944520e1ca4baf562a8c2ec7
Author: Decay <decay@todayiwilllaunchmyinfantsonintoorbit.com>
Date:   Wed,  7 Oct 2020 19:49:42 -0700

Add blank separator to links

A NIL in the *BLOG-LINKS* list will now produce a blank line in the
links list usable as a separator.

Diffstat:
Mtemplates/left-column.lhtml | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/templates/left-column.lhtml b/templates/left-column.lhtml @@ -18,7 +18,11 @@ <br> <% @if links %> <% @loop links %> - <a href="<% @var link %>"><% @var text %></a><br> + <% @if link %> + <a href="<% @var link %>"><% @var text %></a><br> + <% @else %> + <br> + <% @endif %> <% @endloop %> <% @endif %> </section>