enabling the RSS feed!

This commit is contained in:
manetta 2020-11-16 16:20:59 +01:00
parent acfa3b50e2
commit aefdb10b86

View File

@ -1,35 +1,41 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # # -*- coding: utf-8 -*- #
# Pelican's documentation page on the pelicanconf.py
# https://docs.getpelican.com/en/stable/settings.html
AUTHOR = 'Alice & Manetta' AUTHOR = 'Alice & Manetta'
SITENAME = 'AMRO_2020_publication' SITENAME = 'AMRO 2020 Publication'
SITEURL = '' SITEURL = 'https://vvvvvvaria.org/amro/'
PATH = 'content'
TIMEZONE = 'Europe/Amsterdam' TIMEZONE = 'Europe/Amsterdam'
DEFAULT_DATE = 'fs'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing # Feed settings
FEED_DOMAIN = SITEURL
RSS_FEED_SUMMARY_ONLY = False
# RSS feeds
FEED_RSS = 'feeds/feed.rss.xml'
# FEED_ALL_RSS = 'feeds/all.rss.xml' # same as above?
CATEGORY_FEED_RSS = 'feeds/category/{slug}'
AUTHOR_FEED_RSS = None
# Atom feed (disabled)
FEED_ALL_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
PATH = 'content'
STATIC_PATHS = [ 'images', 'favicon.ico' ]
THEME = 'themes/basic' THEME = 'themes/basic'
THEME_STATIC_DIR = 'theme' THEME_STATIC_DIR = 'theme'
# Blogroll
LINKS = (('Pelican', 'https://getpelican.com/'),
('Python.org', 'https://www.python.org/'),
('Jinja2', 'https://palletsprojects.com/p/jinja/'),
('You can modify those links in your config file', '#'),)
# Social widget DEFAULT_PAGINATION = 10
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 2
# Uncomment following line if you want document-relative URLs when developing # Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True RELATIVE_URLS = True