home
readme
diff
tree
note
docs
0commit eaeda5acda0dcee77ed400c20e278697ebe3c4dc
1Author: Mason Wright <mason@lakefox.net>
2Date: Sat Aug 23 15:06:42 2025 -0600
3
4 Added IRC and RSS
5
6diff --git a/Makefile b/Makefile
7index 29d253e..19982c1 100755
8--- a/Makefile
9+++ b/Makefile
10@@ -54,6 +54,7 @@ MD_FILES := $(shell find docs/content -name "*.md")
11 HTML_FILES := $(MD_FILES:docs/content/%.md=docs/dist/%.html)
12
13 docs: $(HTML_FILES)
14+ @printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rss version=\"2.0\"><channel><title>Grim Git Feed</title><link>https://grimui.com</link><description>A feed of recent commits.</description><language>en-us</language><pubDate>$$(date -R)</pubDate>$$(git log --pretty=format:'<item><title>%s</title><guid isPermaLink="false">%H</guid><author>%ae (%an)</author><pubDate>%aI</pubDate><description><![CDATA[<p><strong>Author:</strong> %an</p><p><strong>Commit:</strong> %H</p><p>%b</p><p style="white-space: pre;">%N</p>]]></description></item>' --date=iso)</channel>\n</rss>" > docs/dist/rss.xml
15
16 # See 080f729 note for the template command
17 docs/dist/%.html: docs/content/%.md docs/components/navbar.html
18diff --git a/docs/components/navbar.html b/docs/components/navbar.html
19index e9e6756..0244ad3 100755
20--- a/docs/components/navbar.html
21+++ b/docs/components/navbar.html
22@@ -9,6 +9,8 @@
23 <summary>Links</summary>
24 <ul>
25 <li><a href="sftp://share@grimui.com">Source</a></li>
26+ <li><a href="https://web.libera.chat/gamja/?autojoin=#grim">IRC</a>
27+ <li><a href="/rss.xml">RSS</a>
28 </ul>
29 </details>
30 <details open>