projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94b2fc
)
added debug output
author
MatthewOwens
<matthew@owens.tech>
Sun, 19 Jul 2020 12:38:35 +0000
(13:38 +0100)
committer
MatthewOwens
<matthew@owens.tech>
Sun, 19 Jul 2020 12:38:35 +0000
(13:38 +0100)
scripts/gen_feed_item.sh
patch
|
blob
|
history
diff --git
a/scripts/gen_feed_item.sh
b/scripts/gen_feed_item.sh
index
a493584
..
746eb57
100755
(executable)
--- a/
scripts/gen_feed_item.sh
+++ b/
scripts/gen_feed_item.sh
@@
-4,6
+4,7
@@
HTMLPATH=$(echo $1 | sed 's/\.md$/.html/')
TITLE=$(scripts/post_title.sh $1)
BODY=$(markdown $1 | sed -e 's/’/'/g -e 's/‘//g')
+echo "DATE=$(git log -1 --pretty="format:%ad" $2$1)"
DATE=$(git log -1 --pretty="format:%ad" $2$1)
echo "<item>"