From 8906d3631024edfbd78e7dbe6818f14346d20d7c Mon Sep 17 00:00:00 2001 From: Raymond Wanyoike Date: Wed, 30 Nov 2016 22:00:29 +0300 Subject: [PATCH] Update pelican configs --- pelicanconf.py | 6 ++---- publishconf.py | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 937c186..05911f0 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -41,11 +41,9 @@ LINKS = ( ('Jinja2', 'http://jinja.pocoo.org/'), ) -ICONS = ( - # Note feed has it's domain hard-coded (cheap workaround) - ('feed', 'https://rwanyoike.github.io/pelican-alchemy/feeds/all.atom.xml'), +ICONS = [ ('github', 'https://github.com/rwanyoike/pelican-alchemy'), -) +] # Default value is ['index', 'tags', 'categories', 'authors', 'archives'] DIRECT_TEMPLATES = ['index', 'tags', 'categories', 'authors', 'archives', 'sitemap'] diff --git a/publishconf.py b/publishconf.py index ecfb8c4..dbfbd33 100644 --- a/publishconf.py +++ b/publishconf.py @@ -20,6 +20,7 @@ CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' DELETE_OUTPUT_DIRECTORY = True # Following items are often useful when publishing - # DISQUS_SITENAME = "" # GOOGLE_ANALYTICS = "" + +ICONS.insert(0, ('feed', SITEURL + '/' + FEED_ALL_ATOM))