shithub: sirjofri_de

Download patch

ref: f649e8b75c16916be726453b29e3119ff7943cd9
parent: 6829877a17eb4a424fd9d07f986c67f11bca1de4
author: sirjofri <sirjofri@sirjofri.de>
date: Thu Jul 16 03:36:23 EDT 2020

fixes changeblog listing

--- /dev/null
+++ b/changeblog.ht
@@ -1,0 +1,15 @@
+<section>
+<header>
+<h2>all articles</h2>
+</header>
+<a href="changeblog.pdf">Download pdf</a><br>
+<a href="/changeblog.xml">Feed</a><br>
+<ul>
+<li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Mail Server Configuration</a></li>
+<li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Guided Replica</a></li>
+<li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: 9front on Netcup VPS</a></li>
+<li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: changeblog feed — social media²</a></li>
+<li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200: I use 9front</a></li>
+<li><a href="/changeblog/1578614400/">Fri, 10 Jan 2020 01:00:00 +0100: Revived</a></li>
+</ul>
+</section>
--- a/mkfile
+++ b/mkfile
@@ -61,7 +61,7 @@
 	} > $target
 	echo '√ '^$target^' created'
 
-changeblog/%.ht:Q: changeblog/%.ms
+changeblog/%.ht:QV: changeblog/%.ms
 	{
 		title=`{
 			sed -n '/\.HTML/s/\.HTML //p' changeblog/$stem.ms | tr -d $nl
@@ -76,7 +76,7 @@
 	} > $target
 	echo '√ '^$target^' prepared'
 
-changeblog.ht:Q: $BLOG
+changeblog.ht:QV: $BLOG
 	echo '<section>
 	<header>
 	<h2>all articles</h2>
@@ -87,7 +87,7 @@
 	obs=`{ls -r changeblog/*.ms | sed -e 's/\.ms$//g' -e 's:changeblog/::g'}
 	for(OB in $obs){
 		OBN=`{sed -n '/^\.HTML /s:\.HTML::p' changeblog/^$OB^.ms | tr -d $nl}
-		echo '<li><a href="/changeblog/'^$OB^'/">'^`"{date -m $OB | tr -d $nl}^': '$OBN'</a></li>' >> $target
+		echo '<li><a href="/changeblog/'^$OB^'/">'^`"{date -m $OB | tr -d $nl}^': '^$"OBN^'</a></li>' >> $target
 	}
 	echo '</ul>
 	</section>' >> $target
--- a/pub/changeblog/index.html
+++ b/pub/changeblog/index.html
@@ -31,11 +31,11 @@
 <a href="changeblog.pdf">Download pdf</a><br>
 <a href="/changeblog.xml">Feed</a><br>
 <ul>
-<li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Mail</a></li> <li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Server</a></li> <li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Configuration</a></li>
-<li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Guided</a></li> <li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Replica</a></li>
-<li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: 9front</a></li> <li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: on</a></li> <li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: Netcup</a></li> <li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: VPS</a></li>
-<li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: changeblog</a></li> <li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: feed</a></li> <li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: —</a></li> <li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: social</a></li> <li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: media²</a></li>
-<li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200: I</a></li> <li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200: use</a></li> <li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200: 9front</a></li>
+<li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Mail Server Configuration</a></li>
+<li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Guided Replica</a></li>
+<li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: 9front on Netcup VPS</a></li>
+<li><a href="/changeblog/1592917245/">Tue, 23 Jun 2020 15:00:45 +0200: changeblog feed — social media²</a></li>
+<li><a href="/changeblog/1590105600/">Fri, 22 May 2020 02:00:00 +0200: I use 9front</a></li>
 <li><a href="/changeblog/1578614400/">Fri, 10 Jan 2020 01:00:00 +0100: Revived</a></li>
 </ul>
 </section>