timestamp no work
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user