miniblog

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

commit cfefbd60335eb39722493ece81d1a44a01f65e82
parent 8ae4852ef4677b929cdba0e25fd4c28912ccd179
Author: Decay <decay@todayiwilllaunchmyinfantsonintoorbit.com>
Date:   Mon, 21 Dec 2020 17:13:12 -0800

Allow plaintext entries in links menu

An entry with just :TEXT will be emitted as plaintext so you can add
section descriptions to your links.

Diffstat:
Mtemplates/template.dtl | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/templates/template.dtl b/templates/template.dtl @@ -54,7 +54,11 @@ {% if link.link %} <a href="{{ link.link }}">{{ link.text }}</a><br> {% else %} - <br> + {% if link.text %} + {{ link.text }}<br> + {% else %} + <br> + {% endif %} {% endif %} {% endfor %} {% endif %}