projects
/
website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d11a20
)
removed param from gen_feed_item, set appropriate git variable in hook
author
MatthewOwens
<matthew@owens.tech>
Sun, 19 Jul 2020 12:47:20 +0000
(13:47 +0100)
committer
MatthewOwens
<matthew@owens.tech>
Sun, 19 Jul 2020 12:47:20 +0000
(13:47 +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
..
34adfbd
100755
(executable)
--- 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 "<item>"
echo " <title>$TITLE</title>"