/ ‘pelicanconf.py’

This commit is contained in:
Dooho Yi 2020-05-04 00:05:42 +09:00
parent f980fdc961
commit cb094af192

View file

@ -13,7 +13,7 @@ TIMEZONE = 'Asia/Seoul'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
DEFAULT_DATE = 'fs' DEFAULT_DATE = 'fs'
#notes/20200421T223234+0900_testt/index.rst #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>.*)/.*' PATH_METADATA = r'.*/(?P<category>[^/]*)/(?P<date>(?P<slug>\d{8}T\d{6})[+-]\d{4})_(?P<title>.*)/.*'
#SLUGIFY_SOURCE = 'basename' #SLUGIFY_SOURCE = 'basename'