lost-train/pelicanconf.py
2020-05-03 22:44:42 +09:00

49 lines
1.2 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'D'
SITENAME = 'lost/tr'
SITEURL = 'https://nosignal.hopto.org/site/ci/losttr'
PATH = 'content'
OUTPUT_PATH = 'public'
TIMEZONE = 'Asia/Seoul'
DEFAULT_LANG = 'en'
DEFAULT_DATE = 'fs'
#20200421T223234+0900_(testt).rst
PATH_METADATA = r'(?P<category>[^/]*)/(?P<date>\d{8}T\d{6}[+-]\d{4})_\((?P<title>.*)\)/.*'
SLUGIFY_SOURCE = 'datetime'
# 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
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# PLUGINS
PLUGIN_PATHS = ['plugins']
PLUGINS = ['assets']
# THEME (custom;originally 'monospace')
THEME = "./theme"