/ ‘pelicanconf.py’

This commit is contained in:
Dooho Yi 2020-05-03 23:59:40 +09:00
parent eae5ef8e8a
commit eea1aee3a8

View file

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