From 581294190379fc8a07e59ba60040baee8d89a079 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Wed, 6 May 2020 12:09:15 +0900 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98pelicanconf-localhost.py=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pelicanconf-localhost.py | 50 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/pelicanconf-localhost.py b/pelicanconf-localhost.py index a0783d9..6e96b1d 100644 --- a/pelicanconf-localhost.py +++ b/pelicanconf-localhost.py @@ -1,6 +1,52 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -import ./pelicanconf +from __future__ import unicode_literals +AUTHOR = 'D' +SITENAME = 'lost/tr' +#SITEURL = 'https://nosignal.hopto.org/site/ci/losttr' SITEURL = 'localhost:8000' -print(SITEURL) + +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[^/]*)/(?P(?P\d{8}T\d{6})[+-]\d{4})_(?P.*)/.*' + +#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} + +# 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"