Browse Source

conf: Configure twitter and rss (atom?)

Sebastien Badia 9 years ago
parent
commit
bfc19afe19
1 changed files with 6 additions and 0 deletions
  1. 6 0
      pelicanconf.py

+ 6 - 0
pelicanconf.py

@@ -15,12 +15,18 @@ TIMEZONE = 'Europe/Paris'
 DEFAULT_LANG = u'fr'
 
 # Feed generation is usually not desired when developing
+FEED_DOMAIN = 'https://gitoyen.net'
 FEED_ALL_ATOM = None
+FEED_ALL_RSS = 'feeds/all.rss.xml'
 CATEGORY_FEED_ATOM = None
+CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
 TRANSLATION_FEED_ATOM = None
 AUTHOR_FEED_ATOM = None
 AUTHOR_FEED_RSS = None
 
+# Social
+TWITTER_USERNAME = 'gitoyen'
+
 JINJA_FILTERS = {'is_active': filters.is_active}
 
 THEME = './theme'