M build => build +5 -1
@@ 35,6 35,7 @@ function generate_rss() {
echo "<rss version=\"2.0\">
<channel>
+<description></description>
<title>rdck.dev</title>
<link>$LINK_PREFIX</link>
<language>en-us</language>
@@ 45,9 46,12 @@ function generate_rss() {
do
echo "<item>
<title>`get_title $f`</title>
+<guid>$LINK_PREFIX/`get_url $f`</guid>
<link>$LINK_PREFIX/`get_url $f`</link>
<pubDate>`get_date2 $f`</pubDate>
-<description>`mmtt < $f | lowdown`</description>
+<description>
+`mmtt < $f | pandoc -f markdown -t plain | sed 's/&/\&/g; s/</\</g; s/>/\>/g; s/"/\"/g; s/'"'"'/\'/g'`
+</description>
</item>" >> $RSSFEED
done
M template.html => template.html +1 -1
@@ 22,7 22,7 @@
{:: cat $CONTENT_HTML ::}
</main>
<footer>
- Made by me. <a href="https://git.sr.ht/~prokop/rdck.dev">source</a>. <a href="/rss.xml">rss feed</a>.
+ Made by me. <a href="https://git.sr.ht/~prokop/rdck.dev"><img src="/assets/srht.svg"></a> <a href="/rss.xml"><img src="/assets/rss.svg"></a>
</footer>
</body>
</html>