forked from sejo/compudanzas
cleaned up
This commit is contained in:
parent
88672f075c
commit
b26da0d19c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue