Fixed RSS icon

This commit is contained in:
Jim Shepich III 2026-02-01 17:27:43 -05:00
parent f4433ac188
commit cf48c16bca
3 changed files with 6 additions and 6 deletions

View File

@ -62,7 +62,7 @@ def build_tag_index(index: dict[str, Article]) -> dict[str, list[str]]:
tag_index[tag] = (tag_index.get(tag,[])) + [article]
# TODO: create a tag inventory page, as well as individual browse-by-tag pages.
# def build_tag_inventory(
# site: SiteConfig,
# index: dict[str, tuple[str, str]],
@ -72,10 +72,6 @@ def build_tag_index(index: dict[str, Article]) -> dict[str, list[str]]:
# tag_
# TODO: Finish
def build_rss_feed(site: SiteConfig, index: dict[str, Article]):
feed = rfeed.Feed(
title = site.title,

View File

@ -180,3 +180,7 @@ img.rss-icon{
width: 1rem;
vertical-align: middle;
}
span img.rss-icon{
float: right;
}

View File

@ -1 +1 @@
<a href="{site.base_url}/rss.xml"><img class='rss-icon' src='/assets/img/rss.svg' /></a>
<a href="{site.base_url}/rss.xml"><img class='rss-icon' title='{site.title} RSS Feed' src='/assets/img/rss.svg' /></a>