up slug for index

This commit is contained in:
Tykayn 2024-11-05 01:14:45 +01:00 committed by tykayn
parent e61bac9687
commit 2df1b709de
4 changed files with 73 additions and 6 deletions

View file

@ -42,9 +42,9 @@ convert_sources() {
# pwd
pandoc -f "${source_file_extension}" -t html -s "${i}" -o "converted/${i%.${source_file_extension}}.html" --metadata title="$website_name"
# Transformer en gmi
echo "to GMI:"
pwd
ls -l $templates_path/../../templates/pandoc
# echo "to GMI:"
# pwd
# ls -l $templates_path/../../templates/pandoc
pandoc --template $templates_path/../../templates/pandoc/template_gemini.lua -f "${source_file_extension}" -t $templates_path/../../templates/pandoc/gmi.lua -s "${i}" -o "converted/${i%.${source_file_extension}}.gmi"
# ajout des footers à chaque article
# cat '../../templates/website_pages/footer-articles.md.gmi' >> "${i%.${source_file_extension}}.gmi"