40 lines
977 B
Python
40 lines
977 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = 'BlackSponge'
|
|
SITENAME = 'BlackSponge\'s Blog'
|
|
SITEURL = ''
|
|
ARTICLE_URL = '{lang}/{date:%Y-%m-%d}-{slug}.html'
|
|
ARTICLE_SAVE_AS = '{lang}/{date:%Y-%m-%d}-{slug}.html'
|
|
ARTICLE_LANG_URL = '{lang}/{date:%Y-%m-%d}-{slug}.html'
|
|
ARTICLE_LANG_SAVE_AS = '{lang}/{date:%Y-%m-%d}-{slug}.html'
|
|
|
|
PATH = 'content'
|
|
STATIC_PATHS = ['images']
|
|
ARTICLE_PATHS = ['articles']
|
|
|
|
TIMEZONE = 'America/Toronto'
|
|
|
|
DEFAULT_LANG = 'fr'
|
|
|
|
# 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
|
|
|
|
MENUITEMS = (('Photos', 'https://bksp.space/photos'),)
|
|
|
|
# Blogroll
|
|
LINKS = ()
|
|
|
|
# Social widget
|
|
SOCIAL = (('Mastodon', 'fa-mastodon', 'https://toot.site/@bksp'),)
|
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
#RELATIVE_URLS = True
|