Cope pelicanconf to publishconf
This commit is contained in:
parent
dd44ff4c6d
commit
6d2247b210
|
@ -2,24 +2,40 @@
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
# This file is only used if you use `make publish` or
|
AUTHOR = 'Tanner Collin'
|
||||||
# explicitly specify it as your config file.
|
SITENAME = 'Tanner Collin'
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
sys.path.append(os.curdir)
|
|
||||||
from pelicanconf import *
|
|
||||||
|
|
||||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
|
||||||
SITEURL = ''
|
SITEURL = ''
|
||||||
RELATIVE_URLS = False
|
|
||||||
|
|
||||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
PATH = 'content'
|
||||||
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
|
|
||||||
|
|
||||||
DELETE_OUTPUT_DIRECTORY = True
|
TIMEZONE = 'Canada/Mountain'
|
||||||
|
|
||||||
# Following items are often useful when publishing
|
DEFAULT_LANG = 'en'
|
||||||
|
|
||||||
|
# Feed generation is usually not desired when developing
|
||||||
|
FEED_ALL_ATOM = None
|
||||||
|
CATEGORY_FEED_ATOM = None
|
||||||
|
TRANSLATION_FEED_ATOM = None
|
||||||
|
AUTHOR_FEED_ATOM = None
|
||||||
|
AUTHOR_FEED_RSS = None
|
||||||
|
|
||||||
|
DEFAULT_PAGINATION = False
|
||||||
|
|
||||||
|
MARKDOWN = {
|
||||||
|
'extension_configs': {
|
||||||
|
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
||||||
|
'markdown.extensions.extra': {},
|
||||||
|
'markdown.extensions.meta': {},
|
||||||
|
'markdown.extensions.toc': {
|
||||||
|
'toc_depth': '2-3',
|
||||||
|
'anchorlink': True,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'output_format': 'html5',
|
||||||
|
}
|
||||||
|
|
||||||
|
# Uncomment following line if you want document-relative URLs when developing
|
||||||
|
#RELATIVE_URLS = True
|
||||||
|
|
||||||
|
THEME = 'themes/theme'
|
||||||
|
|
||||||
#DISQUS_SITENAME = ""
|
|
||||||
#GOOGLE_ANALYTICS = ""
|
|
Loading…
Reference in New Issue
Block a user