Skip to content

Commit

Permalink
Add rss / atom feed
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaegel committed Nov 3, 2023
1 parent c5cf06c commit 9ae5d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@
# Can be useful in development, but set to False when you're ready to publish
# RELATIVE_URLS = True

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
FEED_DOMAIN = SITEURL
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = ()

# Social widget
SOCIAL = (
LINKS = (
("fa-solid fa-rss", "/feeds/all.atom.xml"),
("fa-brands fa-github", "https://github.com/tmaegel/"),
("fa-brands fa-mastodon", "https://social.dev-wiki.de/@tmaegel"),
("fa-brands fa-linkedin-in", "https://www.linkedin.com/in/toni-maegel/"),
Expand Down
2 changes: 1 addition & 1 deletion themes/custom/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3>{{ page.title }}</h3>
</ul>
<ul>
<li>
{% for icon, link in SOCIAL %}
{% for icon, link in LINKS %}
<a href="{{ link }}" class="secondary" style="margin: 0px 2px;">
<i class="{{ icon }} fa-2x" aria-hidden="true"></i>
</a>
Expand Down

0 comments on commit 9ae5d51

Please sign in to comment.