recipes

Recipes
git clone git://lumidify.org/recipes.git (fast, but not encrypted)
git clone https://lumidify.org/git/recipes.git (encrypted, but very slow)
Log | Files | Refs | README

commit 3542f72b27bf200cd88e7d5c338612387e819b50
parent 876dcfa81c833a8cefbdc6025fdf37b8860a0661
Author: lumidify <nobody@lumidify.org>
Date:   Fri,  1 Oct 2021 17:09:30 +0200

Fix typos in gen_recipes.sh and remove date tag

Diffstat:
Mgen_recipes.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gen_recipes.sh b/gen_recipes.sh @@ -5,10 +5,9 @@ echo '<!DOCTYPE html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> -<meta name="date" content="2020-03-27" scheme="YYYY-MM-DD" /> <title>Recipes</title> </head> -<html> +<body> <h1>Recipes</h1>' > html/recipes/index.html echo 'Recipes\n' > gph/recipes/index.gph @@ -23,13 +22,14 @@ do tail -n +3 $i | sed 's/\[[^]]*\](\([^)]*\))/gopher:\/\/lumidify.org\/I\/recipes\/\1/g' | # generate full urls sed 's/(gopher:\/\//( gopher:\/\//g' | # add space after left parenthesis for double-click selecting - sed 's/\(images\/[^)]*\.jpg\))/\1 )/g' > gph/recipes/$base.md # add space after right parenthesis + sed 's/\(images\/[^)]*\.jpg\))/\1 )/g' > gph/recipes/$base.md # add space before right parenthesis title=`head -n 1 $i | sed 's/^.*://' | tr -d '\n'` echo "<a href=\"$base.html\">$title</a>" >> html/recipes/index.html echo "[0|$title|/recipes/$base.md|server|port]" >> gph/recipes/index.gph done echo '<a href="images/">All Images</a> +</body> </html>' >> html/recipes/index.html echo '\nGopher menu version (with direct links to images):' >> gph/recipes/index.gph