/ ‘pelicanconf-localhost.py’
This commit is contained in:
parent
8915f89049
commit
e6552287cd
1 changed files with 2 additions and 50 deletions
|
|
@ -1,53 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
from __future__ import unicode_literals
|
import pelicanconf
|
||||||
|
|
||||||
AUTHOR = 'D'
|
SITEURL = 'localhost:8000'
|
||||||
SITENAME = 'lost/tr'
|
|
||||||
SITEURL = 'https://nosignal.hopto.org/site/ci/losttr'
|
|
||||||
#SITEURL = 'localhost:8000'
|
|
||||||
|
|
||||||
PATH = 'content'
|
|
||||||
OUTPUT_PATH = 'public'
|
|
||||||
|
|
||||||
TIMEZONE = 'Asia/Seoul'
|
|
||||||
|
|
||||||
DEFAULT_LANG = 'en'
|
|
||||||
DEFAULT_DATE = 'fs'
|
|
||||||
#posts/notes/20200421T223234+0900_testt/index.rst
|
|
||||||
PATH_METADATA = r'.*/(?P<category>[^/]*)/(?P<date>(?P<slug>\d{8}T\d{6})[+-]\d{4})_(?P<title>.*)/.*'
|
|
||||||
|
|
||||||
#SLUGIFY_SOURCE = 'basename'
|
|
||||||
|
|
||||||
# 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 = 20
|
|
||||||
PAGINATED_TEMPLATES = {'index': None, 'tag': None, 'category': None, 'author': None}
|
|
||||||
TEMPLATE_PAGES = {'pages.html': 'pages.html'}
|
|
||||||
READERS = {'html': None}
|
|
||||||
#STATIC_PATHS = ['content']
|
|
||||||
|
|
||||||
# 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"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue