Initial commit
This commit is contained in:
commit
50f1eba33a
204 changed files with 4749 additions and 0 deletions
59
web/pelicanconf.py
Normal file
59
web/pelicanconf.py
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Disable Setext Headers Monkey Patch
|
||||
from markdown import blockprocessors as bp
|
||||
class NoProcessing(bp.BlockProcessor):
|
||||
def test(self, parent, block):
|
||||
return False
|
||||
bp.SetextHeaderProcessor = NoProcessing
|
||||
|
||||
AUTHOR = 'Tobias'
|
||||
SITENAME = 'Tobias Raayoni Last'
|
||||
|
||||
THEME = 'mc-pelican'
|
||||
PLUGIN_PATHS = ['pelican-plugins']
|
||||
TIMEZONE = 'Asia/Jerusalem'
|
||||
|
||||
DEFAULT_LANG = 'English'
|
||||
|
||||
# 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
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
#RELATIVE_URLS = True
|
||||
|
||||
JS_OVERRIDE = ['theme/script.js']
|
||||
|
||||
MARKDOWN = {
|
||||
'extension_configs': {
|
||||
'markdown.extensions.tables':{},
|
||||
'markdown.extensions.footnotes':{},
|
||||
'markdown.extensions.nl2br':{},
|
||||
}
|
||||
}
|
||||
|
||||
ARTICLE_URL = "{category}/{slug}.html"
|
||||
ARTICLE_SAVE_AS = "{category}/{slug}.html"
|
||||
INDEX_SAVE_AS = "archive/all.html"
|
||||
ARCHIVES_SAVE_AS = 'archive/index.html'
|
||||
|
||||
PATH = 'content'
|
||||
ARTICLE_PATHS = ['blog',]
|
||||
PAGE_PATHS = ['pages',]
|
||||
|
||||
MENUITEMS = [('Current', '/current.html'), ('Archive', '/archive/'), ('Blog', '/blog/'), ('Connect', '/connect.html'), ('CV', '/pages/cv.html')]
|
||||
SUMMARY_MAX_LENGTH = 0
|
||||
DEFAULT_DATE_FORMAT = '%Y-%m-%d'
|
||||
|
||||
DEFAULT_CATEGORY = 'blog'
|
||||
CATEGORIES_SAVE_AS = 'categories/index.html'
|
||||
CATEGORY_URL = '{slug}/index.html'
|
||||
CATEGORY_SAVE_AS = '{slug}/index.html'
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
|
||||
PLUGINS = ['geoblog']
|
||||
Loading…
Add table
Add a link
Reference in a new issue