mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Documentation Fix
This commit is contained in:
parent
4a9d2e86cf
commit
625c1d167d
2 changed files with 4 additions and 4 deletions
|
|
@ -71,7 +71,7 @@ word None should not be surrounded by quotes.
|
|||
I'm getting a warning about Feeds generated without SITEURL being set properly
|
||||
==============================================================================
|
||||
|
||||
`RSS and atom3 feeds require all URLs and links in them to be absolute <http://validator.w3.org/feed/docs/rss2.html#comments>`_.
|
||||
`RSS and atom feeds require all URLs and links in them to be absolute <http://validator.w3.org/feed/docs/rss2.html#comments>`_.
|
||||
In order to properly generate all URLs properly in pelican you will need to set
|
||||
``SITEURL`` to the full path of your blog. By default, when using the ``make html``
|
||||
to test build your site ``SITEURL`` is disabled so you should receive this
|
||||
|
|
|
|||
|
|
@ -115,20 +115,20 @@ class Pelican(object):
|
|||
logger.warning("%s = '%s'" % (setting, self.settings[setting]))
|
||||
|
||||
if self.settings.get('FEED', False):
|
||||
logger.warning('Found depreciated `FEED` in settings. Modify FEED'
|
||||
logger.warning('Found deprecated `FEED` in settings. Modify FEED'
|
||||
' to FEED_ATOM in your settings and theme for the same behavior.'
|
||||
' Temporarily setting FEED_ATOM for backwards compatibility.')
|
||||
self.settings['FEED_ATOM'] = self.settings['FEED']
|
||||
|
||||
if self.settings.get('TAG_FEED', False):
|
||||
logger.warning('Found depreciated `TAG_FEED` in settings. Modify '
|
||||
logger.warning('Found deprecated `TAG_FEED` in settings. Modify '
|
||||
' TAG_FEED to TAG_FEED_ATOM in your settings and theme for the '
|
||||
'same behavior. Temporarily setting TAG_FEED_ATOM for backwards '
|
||||
'compatibility.')
|
||||
self.settings['TAG_FEED_ATOM'] = self.settings['TAG_FEED']
|
||||
|
||||
if self.settings.get('CATEGORY_FEED', False):
|
||||
logger.warning('Found depreciated `CATEGORY_FEED` in settings. '
|
||||
logger.warning('Found deprecated `CATEGORY_FEED` in settings. '
|
||||
'Modify CATEGORY_FEED to CATEGORY_FEED_ATOM in your settings and '
|
||||
'theme for the same behavior. Temporarily setting '
|
||||
'CATEGORY_FEED_ATOM for backwards compatibility.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue