adamsgaard.dk

my academic webpage
git clone git://src.adamsgaard.dk/adamsgaard.dk
Log | Files | Refs | README | LICENSE Back to index

commit f72baab8758e76c9ed00a53cc2314691b665388e
parent c2c35b346b67821c2326d2de78e54cfa3a8e250e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 15 Jun 2020 16:46:42 +0200

Allow numerals in page names in gopher post listing

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -12,7 +12,7 @@ generate: printf '# %s \n\n' "$$title" > "$$out"; \ cat "$$f" >> "$$out"; \ done - sed -i 's,|\([A-Za-z-]*\)\.html|server|port,|/\1.txt|server|port,' $(output)/index.gph + sed -i 's,|\([A-z0-9-]*\)\.html|server|port,|/\1.txt|server|port,' $(output)/index.gph cp style.css print.css $(output)/ rsync -ra \ $(output)/ \