cleaned up

This commit is contained in:
sejo 2021-08-20 17:07:23 -05:00
parent 88672f075c
commit b26da0d19c
1 changed files with 1 additions and 6 deletions

View File

@ -42,7 +42,7 @@ echo "generando índice..."
rm src/pages.gmo
ls -t src/*gmo | awk -f genindice.awk > src/pages.gmo
# genera incoming links en tmp/
# genera archivos con incoming links en tmp/
echo "generando incoming links..."
python3 links.py
@ -57,13 +57,8 @@ do
htmlpath="web/${path%gmo}html" # agrega "web/" y cambia el sufijo
gempath="gem/${path%gmo}gmi" # agrega "gem/"
# fecha=$(date -r $f --rfc-3339=date)
fecha=$(date -r src/$path --rfc-3339=date)
# echo "${f}"
# echo "${f} -> ${htmlpath}"
# echo "${f} -> ${gempath}"
# haz la conversión
awk -v fecha=$fecha -f gemtext2html.awk $f > $htmlpath
awk -v fecha=$fecha -f gmo2gmi.awk $f > $gempath