shithub: web

Download patch

ref: ed502216b8856c04859fb0fec6237f748d5faea6
parent: 64efef6cf6796a436beb6e5640e859b8fecda48d
author: sirjofri <sirjofri@sirjofri.de>
date: Fri Feb 5 08:52:19 EST 2021

adds registry.txt support (stub file plus link)

namespace.httpd can bind registry/index file over public/registry.txt

--- a/frag/header.inc
+++ b/frag/header.inc
@@ -21,6 +21,7 @@
 <nav>
 <a href="/">start</a> •
 <a href="/man/">man</a> •
+<a href="/registry.txt">registry</a> •
 <a href="/legal/">legal</a>
 </nav>
 </header>
--- a/mkfile
+++ b/mkfile
@@ -1,6 +1,9 @@
 pages=`{ls *.ht | grep -v index.ht | sed 's:\.ht$:/index.html:'}
 
-all:VQ: ${pages:%=public/%} public/index.html
+all:VQ: ${pages:%=public/%} public/index.html public/registry.txt
+
+public/registry.txt:DQ:
+	touch $target
 
 public/%/index.html:DQ: %.ht %.sed