diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/categories.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_includes/categories.html b/_includes/categories.html index 22e5df3..23affcf 100644 --- a/_includes/categories.html +++ b/_includes/categories.html @@ -18,8 +18,12 @@ {% assign unique_categories = categories | sort | uniq %} {% for category in unique_categories %} + {% assign feed_link = "feed." | append:include.kind | append:"-by-category." | append:page.lang | append:"." | append:category | append:".atom" | replace:" ", "-" %} <h2 id="{{ category }}"> - <a href="#{{ category }}">{{ category }}</a>: + <a href="#{{ category }}">{{ category }}</a> + <a href="{% link {{ feed_link }} %}"> + <img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" /> + </a> </h2> <ul> {% for entry in entries_with_categories %} |