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