From: MatthewOwens Date: Sun, 19 Jul 2020 12:47:20 +0000 (+0100) Subject: removed param from gen_feed_item, set appropriate git variable in hook X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=751f3c74b2d8f91b73a08da146b08508661d50ff;p=website.git removed param from gen_feed_item, set appropriate git variable in hook --- diff --git a/scripts/gen_feed_item.sh b/scripts/gen_feed_item.sh index a493584..34adfbd 100755 --- a/scripts/gen_feed_item.sh +++ b/scripts/gen_feed_item.sh @@ -4,7 +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') -DATE=$(git log -1 --pretty="format:%ad" $2$1) +DATE=$(git log -1 --pretty="format:%ad" $1) echo "" echo " $TITLE"