removed param from gen_feed_item, set appropriate git variable in hook
authorMatthewOwens <matthew@owens.tech>
Sun, 19 Jul 2020 12:47:20 +0000 (13:47 +0100)
committerMatthewOwens <matthew@owens.tech>
Sun, 19 Jul 2020 12:47:20 +0000 (13:47 +0100)
scripts/gen_feed_item.sh

index a493584..34adfbd 100755 (executable)
@@ -4,7 +4,7 @@
 HTMLPATH=$(echo $1 | sed 's/\.md$/.html/')
 TITLE=$(scripts/post_title.sh $1)
 BODY=$(markdown $1 | sed -e 's/&rsquo;/'/g -e 's/&lsquo;//g')
-DATE=$(git log -1 --pretty="format:%ad" $2$1)
+DATE=$(git log -1 --pretty="format:%ad" $1)
 
 echo "<item>"
 echo " <title>$TITLE</title>"