commit 2142afd86a821a573584436f95254bd9871448dc
parent cd50d92b3ebd3f45064de2cfa756d0d0b8bf9e8e
Author: dsp <dsp@2f30.org>
Date: Thu, 31 Aug 2023 01:34:16 -0600
removing a reduntant numbering in the postlist which also makes the gemlog compliant with the simple feed format. Every link should have the form of => YYYY-MM-DD Title
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shite b/shite
@@ -171,7 +171,7 @@ fn mkpostlist {
id=`{echo $i | sed 's/ .*//'}
title=`{echo $i | sed 's/^[0-9] //'}
datestr=`{ndb/query -a -f $sdb id $id date}
- echo '<li><a href='^$HTML_BASE^'/'^$postURLbase^$id'.html>['$id':'$datestr'] '$"title'</a></li>' >> $out
+ echo '<li><a href='^$HTML_BASE^'/'^$postURLbase^$id'.html>['$datestr'] '$"title'</a></li>' >> $out
}
echo '</ol>' >> $out
echo '</div>' >> $out
@@ -188,7 +188,7 @@ fn mkpostlist {
id=`{echo $i | sed 's/ .*//'}
title=`{echo $i | sed 's/^[0-9] //'}
datestr=`{ndb/query -a -f $sdb id $id date}
- echo '=>'^$GEMINI_BASE^'/'^$postURLbase^$id'.gmi ['$id':'$datestr'] '$"title >> $out
+ echo '=> '^$GEMINI_BASE^'/'^$postURLbase^$id'.gmi '$datestr' '$"title >> $out
}
GemFooter >> $out
}