summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatherine Peeters <katherine.peeters@leagueh.xyz>2021-10-19 20:39:04 -0700
committerKatherine Peeters <katherine.peeters@leagueh.xyz>2021-10-19 20:39:04 -0700
commit5e6e785b7f356740dd3babe2bcdc9598193350fe (patch)
tree386f3a1956a24adec10be7022e7f85f1868a2b1c
parentb49c7f90088e2a49be65ef9106daef909632d9d3 (diff)
downloadloh-website-5e6e785b7f356740dd3babe2bcdc9598193350fe.tar.gz
Fixed RSS feed titles
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c078194..ddbcfde 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ all: $(HTML) $(RSS_XML)
cat $<.header.xml > $@
for i in $(shell ls -r $</*.gmi | head -n 15) ; do \
cat $<.item_header.xml >> $@; \
- echo "<title>`sed -n '/^#.*/p' $$i | cut -c 3-`</title>" >> $@; \
+ echo "<title>`sed -n '/^# .*/p' $$i | cut -c 3-`</title>" >> $@; \
echo "<pubDate>`basename $$i | head -c8 | xargs date '+%a, %d %b %Y' -d`</pubDate>" >> $@; \
echo "<link>https://leagueh.xyz/$$i</link>" | sed 's/site\///g ; s/.md/.html/g' >> $@; \
echo "<description>`./gmi2html < $$i | sed '/^#.*/d ; s/</\&lt;/g ; s/>/\&gt;/g '`</description>" >> $@; \