From: MatthewOwens Date: Sun, 19 Jul 2020 12:38:35 +0000 (+0100) Subject: added debug output X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=b51995cd63f402f1a0d8b668e571fa6ddd3f82cd;p=website.git added debug output --- diff --git a/scripts/gen_feed_item.sh b/scripts/gen_feed_item.sh index a493584..746eb57 100755 --- 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 ""