shithub: shithub

Download patch

ref: 8c6fec14a4bf9f15df24ddc9cdd365805f5d29d7
parent: 26fca7ea9668ad3f4c94efe74893f28baa1370a7
author: Igor Böhm <igor@9lab.org>
date: Wed Nov 17 03:33:11 EST 2021

list: enable links to users via 'http://shithub.us/#igor'

This allows one to directly link to ones projects:

  <a href="http://shithub.us/#igor">my stuff</a>

--- a/list
+++ b/list
@@ -23,7 +23,7 @@
 	if(! ~ $udir $ndir)
 		echo '</dl>'
 	if(! ~ $udir $ndir){
-		echo '<h3>'$ndir'</h3>'
+		echo '<h3><a name="'$ndir'">'$ndir'</a></h3>'
 		echo '<dl>'
 		udir=$ndir
 	}