diff options
author | EuAndreh <eu@euandre.org> | 2025-04-17 16:54:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-17 16:54:34 -0300 |
commit | 5841f7119d9bd47a343a15003496449b80ec664b (patch) | |
tree | 62ccecda0bfb808a81f2dbdc87b399672b6bebed /src/indexbody | |
parent | src/conf: Clear optionally set variables to prevent global values to pollute ... (diff) | |
download | mkwb-5841f7119d9bd47a343a15003496449b80ec664b.tar.gz mkwb-5841f7119d9bd47a343a15003496449b80ec664b.tar.xz |
src/indexbody: Add link to Atom feed.xml and to categories page
Diffstat (limited to 'src/indexbody')
-rwxr-xr-x | src/indexbody | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/indexbody b/src/indexbody index 0c2edff..7e076fe 100755 --- a/src/indexbody +++ b/src/indexbody @@ -12,6 +12,18 @@ eval "$(assert-arg -- "$FILENAME" 'FILENAME.conf')" . ./"$FILENAME" +cat <<EOF + <p> + Atom feed + <a href="feed.xml"> + <source srcset="$feedicon_url_prefix/dark.svg" media="(prefers-color-scheme: dark)" /> + <img src="$feedicon_url_prefix/light.svg" class="icon" + /></a> + and feeds by + <a href="categories.html">categories</a>. + </p> +EOF + printf ' <ol class="collection-list">\n' cat -- "$SORTDATA" | xargs cat | |