File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434 with :
3535 path : requirements.txt
3636 - name : Build site
37- run : python3 -We -m pelican -s publishconf.py
37+ run : python3 -We -m pelican --fatal warnings - s publishconf.py
3838 - name : Setup Pages
3939 uses : actions/configure-pages@v5
4040 - name : Upload artifact
Original file line number Diff line number Diff line change 1212
1313# URL settings
1414FILENAME_METADATA = r"(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)"
15- # PATH_METADATA = r"pages/(?P<prefix>[^/]+/)?/.*"
15+ PATH_METADATA = r"pages/(?P<prefix>[^/]+/)?/.*"
1616ARTICLE_URL = "news/{date:%Y}/{slug}/"
1717ARTICLE_SAVE_AS = "news/{date:%Y}/{slug}/index.html"
1818AUTHOR_URL = "author/{slug}/"
2222CATEGORY_SAVE_AS = "category/{slug}/index.html"
2323CATEGORIES_SAVE_AS = "category/index.html"
2424INDEX_SAVE_AS = "news/index.html"
25- PAGE_URL = "{slug}/"
26- PAGE_SAVE_AS = "{slug}/index.html"
25+ PAGE_URL = "{prefix}{ slug}/"
26+ PAGE_SAVE_AS = "{prefix}{ slug}/index.html"
2727TAG_URL = "tag/{slug}/"
2828TAG_SAVE_AS = "tag/{slug}/index.html"
2929TAGS_SAVE_AS = "tag/index.html"
You can’t perform that action at this time.
0 commit comments