/ ‘pelicanconf.py’
This commit is contained in:
parent
d6e287fd38
commit
78e4fc83c4
1 changed files with 3 additions and 3 deletions
|
|
@ -13,10 +13,10 @@ TIMEZONE = 'Asia/Seoul'
|
|||
|
||||
DEFAULT_LANG = 'en'
|
||||
DEFAULT_DATE = 'fs'
|
||||
#20200421T223234+0900_(testt).rst
|
||||
PATH_METADATA = r'(?P<category>[^/]*)/(?P<date>\d{8}T\d{6}[+-]\d{4})_\((?P<title>.*)\)/.*'
|
||||
#notes/20200421T223234+0900_(testt)/index.rst
|
||||
PATH_METADATA = r'(?P<category>[^/]*)/(?P<slug>(?P<date>\d{8}T\d{6}[+-]\d{4})_\((?P<title>.*)\))/.*'
|
||||
|
||||
SLUGIFY_SOURCE = 'datetime'
|
||||
SLUGIFY_SOURCE = 'basename'
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue