diff options
Diffstat (limited to 'blog/build.sh')
| -rwxr-xr-x | blog/build.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/blog/build.sh b/blog/build.sh index d7bce2b6..bfad6400 100755 --- a/blog/build.sh +++ b/blog/build.sh @@ -8,19 +8,17 @@ 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 <<EOF # El blog es mío ## Hay otros como él, pero este es el mío -Envíame email a alex arroba corcoles punto net. +=> /contacto Contacta conmigo. => notas/ Notas => notes/ Notes @@ -31,7 +29,10 @@ find . -path './2???/??/*.gmi' -type f -print0 | coppewebite-indexer . >>index.g echo Generating RSS... coppewebite-to-rss <index.gmi https://alex.corcoles.net . >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 |
