adding date header

This commit is contained in:
Matthew Ryan Dillon 2025-03-26 12:09:50 -04:00
parent 48e4b08093
commit 5180c1c30d
2 changed files with 5 additions and 1 deletions

View file

@ -20,7 +20,7 @@ RUN for md_file in /app/markdown/*.md; do \
filename=$(basename -- "$md_file"); \
name="${filename%.*}"; \
echo "Converting $filename to $name.html"; \
pandoc "$md_file" -o "/usr/share/nginx/html/$name.html" \
pandoc "$md_file" --variable date="$(date +"%Y-%m-%dT%H:%M:%S%z")" -o "/usr/share/nginx/html/$name.html" \
--template=/app/markdown/template.html \
--standalone; \
fi; \