summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatherine Peeters <katherine.peeters@leagueh.xyz>2021-10-20 18:15:14 -0700
committerKatherine Peeters <katherine.peeters@leagueh.xyz>2021-10-20 18:15:14 -0700
commit85957033ae0394584e03b76c8ea7c9b3e4c19645 (patch)
tree199f5588eb23e752ad016c66ef31b102ce1c3128
parent5e6e785b7f356740dd3babe2bcdc9598193350fe (diff)
downloadloh-website-85957033ae0394584e03b76c8ea7c9b3e4c19645.tar.gz
Fix RSS links
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ddbcfde..8f656a9 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ all: $(HTML) $(RSS_XML)
cat $<.item_header.xml >> $@; \
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 "<link>https://leagueh.xyz/$$i</link>" | sed 's/site\///g ; s/.gmi/.html/g' >> $@; \
echo "<description>`./gmi2html < $$i | sed '/^#.*/d ; s/</\&lt;/g ; s/>/\&gt;/g '`</description>" >> $@; \
cat rss_item_footer.xml >> $@; \
done