~chambln/cosine.blue

a0939b32addb2c272e3cbe789e40544cbb63a1e9 — Gregory Chamberlain 2 months ago 57068fd
Add notes about subscribing to new posts
2 files changed, 10 insertions(+), 0 deletions(-)

M src/archive.html.sh
M src/index.html.sh
M src/archive.html.sh => src/archive.html.sh +4 -0
@@ 23,6 23,10 @@

x h2 Posts

cmark <<EOF
If you want to be notified of new posts, please subscribe to my [RSS feed](/rss.xml) or [mailing list](mailto:~chambln/public-inbox+subscribe@lists.sr.ht), or [follow me on Mastodon](https://mastodon.social/@chambln) .
EOF

find src/article -type f | sort -r | while IFS= read -r item
do
    [ -f "$item" ] || continue

M src/index.html.sh => src/index.html.sh +6 -0
@@ 57,3 57,9 @@ do
done | x 'ol id="recently" reversed'

x 'a href="/archive.html"' 'More posts →' | x 'p id="archive"'

x hr

cmark <<EOF
If you want to be notified of new posts, please subscribe to my [RSS feed](/rss.xml) or [mailing list](mailto:~chambln/public-inbox+subscribe@lists.sr.ht), or [follow me on Mastodon](https://mastodon.social/@chambln).
EOF