timestamp no work

This commit is contained in:
2025-07-25 12:16:17 +02:00
parent f138e31f45
commit d656313e0a
3 changed files with 3 additions and 2 deletions

View File

@@ -3,8 +3,9 @@ for entry in notes/*
do
filename=$(basename "$entry" .md)
timestamp=`git log --format=%ad --date=format:'%Y-%m-%d' -- $entry`
dest="/posts/$timestamp"
dest+="_$filename"
#this don't work for now
#dest="/posts/$timestamp"
dest="/posts/$filename"
dest+=".html"
html+="<li class=\"postli\"><a class=\"posta\" href=\"$dest"
html+="\">$timestamp"