From 9a263fddff0a14f51c9a6c9733de8b3b22c20294 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 18 Sep 2026 15:50:00 +0200 Subject: Add footer generation, clean up build process slightly --- blog/build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'blog/build.sh') diff --git a/blog/build.sh b/blog/build.sh index d7bce2b6..845845f7 100755 --- a/blog/build.sh +++ b/blog/build.sh @@ -8,12 +8,10 @@ HERE=$(pwd) rm -rf $TARGET cp -a content/ $TARGET +echo Generating notes/interesting-projects python3 ../interesting-projects/interesting-projects.py >$TARGET/notes/interesting-projects.gmi -echo Converting gmi to html... - cd $TARGET -find . -name '*.gmi' -print0 | xargs -0 coppewebite-to-html --css $HERE/style.css echo Generating index... cat >index.gmi <>index.g echo Generating RSS... coppewebite-to-rss index.rss -echo Converting index to HTML... +$HERE/footers.py $HERE/content + +echo Converting to HTML +find . -name '*.gmi' -print0 | xargs -0 coppewebite-to-html --css $HERE/style.css coppewebite-to-html index.gmi --feed-title "El blog es mío" --feed-href index.rss --css $HERE/style.css echo Done -- cgit v1.2.3