Add RSS feed and extra settings
This commit is contained in:
parent
4780f3dfaf
commit
a5b0816a95
1 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,7 @@ SOCIAL = social.generate()
|
||||||
|
|
||||||
DEFAULT_PAGINATION = False
|
DEFAULT_PAGINATION = False
|
||||||
DELETE_OUTPUT_DIRECTORY = True
|
DELETE_OUTPUT_DIRECTORY = True
|
||||||
|
SLUGIFY_SOURCE = 'basename'
|
||||||
|
|
||||||
PAGE_PATHS = ["pages"]
|
PAGE_PATHS = ["pages"]
|
||||||
PAGE_SAVE_AS = "{slug}/index.html"
|
PAGE_SAVE_AS = "{slug}/index.html"
|
||||||
|
@ -72,6 +73,9 @@ CATEGORY_URL = "{slug}/"
|
||||||
CATEGORIES_SAVE_AS = False
|
CATEGORIES_SAVE_AS = False
|
||||||
USE_FOLDER_AS_CATEGORY = True
|
USE_FOLDER_AS_CATEGORY = True
|
||||||
|
|
||||||
|
FEED_ATOM = 'feed.atom'
|
||||||
|
FEED_DOMAIN = SITEURL
|
||||||
|
|
||||||
PLUGIN_PATHS = ["pelican_plugins"]
|
PLUGIN_PATHS = ["pelican_plugins"]
|
||||||
PLUGINS = ["sitemap", "filetime_from_git", "pelican-jinja2content"]
|
PLUGINS = ["sitemap", "filetime_from_git", "pelican-jinja2content"]
|
||||||
|
|
||||||
|
@ -80,7 +84,7 @@ SITEMAP = {
|
||||||
}
|
}
|
||||||
|
|
||||||
from fontawesome_markdown import FontAwesomeExtension
|
from fontawesome_markdown import FontAwesomeExtension
|
||||||
MD_EXTENSIONS = [FontAwesomeExtension()]
|
MD_EXTENSIONS = [FontAwesomeExtension(), 'codehilite(css_class=highlight)', 'extra']
|
||||||
|
|
||||||
import filters
|
import filters
|
||||||
JINJA_FILTERS = {
|
JINJA_FILTERS = {
|
||||||
|
|
Reference in a new issue