commit 2adc8b22673206db7adc5cb101fd97995b6228b1 parent af1ad55f96841abf8c6ba8708a76710b48070f04 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Sun, 23 Mar 2025 11:32:57 +0100 feat: add RSS also in source-overview Diffstat:
M | run.sh | | | 2 | +- |
M | template.tt | | | 6 | +++++- |
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/run.sh b/run.sh @@ -36,7 +36,7 @@ sed -E \ # insert link to rss/xml file printf "Inserting RSS feed file...\n" -sed -E -e "s/<\!--XML-->/\"$XML\"/" -i "$HTML" +sed -E -e "s/<\!--XML-->/\"$XML\"/g" -i "$HTML" # insert link to opml/xml file printf "Inserting OPML feed file...\n" diff --git a/template.tt b/template.tt @@ -59,7 +59,11 @@ <!-- This is updated by find-and-replace--> <details> <summary style="width:100%;">Feeds</summary> - <a href=<!--OPML--> class="button" title="Import all these feeds into your own RSS reader">Download OPML</a> + <div class="button-row"> + <a href=<!--XML--> class="button" title="Subscribe to all these feeds via your own RSS reader">Subscribe via RSS</a> + <a href=<!--OPML--> class="button" title="Import all these feeds into your own RSS reader">Download OPML</a> + </div> + <div style="margin-left:1em;"> <!--FEEDS--> </div>