70 lines
2.1 KiB
Python
70 lines
2.1 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/website'
|
|
|
|
PATH = 'content'
|
|
OUTPUT_PATH = 'public'
|
|
|
|
TIMEZONE = 'Asia/Seoul'
|
|
|
|
DEFAULT_LANG = 'en'
|
|
DEFAULT_DATE = 'fs'
|
|
#2020-04-15T16-49-26+0900_<title>
|
|
FILENAME_METADATA = '(?P<title>.*)'
|
|
#FILENAME_METADATA = '(?P<date>\d{4}-\d{2}-\d{2})-(?P<title>.*)'
|
|
|
|
# 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 = ['/home/admin/pelican-plugins']
|
|
PLUGINS = ['assets']
|
|
|
|
# THEME / bulrush
|
|
import bulrush
|
|
THEME = bulrush.PATH
|
|
JINJA_ENVIRONMENT = bulrush.ENVIRONMENT
|
|
JINJA_FILTERS = bulrush.FILTERS
|
|
|
|
# THEME
|
|
|
|
# THEME = "/home/admin/pelican-themes/dev-random" # Responsive !
|
|
# THEME = "/home/admin/pelican-themes/dev-random2" # Responsive !
|
|
# THEME = "/home/admin/pelican-themes/pelican-cait" # Responsive !
|
|
|
|
# THEME = "/home/admin/pelican-themes/mnmlist" # NOT-responsive !
|
|
# THEME = "/home/admin/pelican-themes/basic" # NOT-responsive !
|
|
# THEME = "/home/admin/pelican-themes/nmnlist" # NOT-responsive !
|
|
# THEME = "/home/admin/pelican-themes/monospace" # NOT-responsive !
|
|
# THEME = "/home/admin/pelican-themes/jesuislibre" # NOT-responsive !
|
|
# THEME = "/home/admin/pelican-themes/blue-penguin" # NOT-responsive !
|
|
|
|
# THEME = "/home/admin/pelican-themes/crowsfoot" # unstable?
|
|
|
|
# THEME = "/home/admin/pelican-themes/eevee" # DOESN'T WORK, AS IS.
|
|
# THEME = "/home/admin/pelican-themes/bulrush" # DOESN'T WORK, AS IS.
|
|
# THEME = "/home/admin/pelican-themes/twenty-html5up" # DOESN'T WORK, AS IS.
|