Skip to content

Commit 26e5644

Browse files
committed
Tweak
1 parent 3d454f8 commit 26e5644

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pelicanconf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
SITEURL = ""
55
SUMMARY_MAX_PARAGRAPHS = 1
66

7-
ARTICLE_PATHS = ["news"]
7+
ARTICLE_PATHS = ("news",)
88
PATH = "content"
99

1010
LOCALE = "en_US.utf8"
1111
TIMEZONE = "UTC"
1212

1313
# URL settings
1414
FILENAME_METADATA = r"(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)"
15-
PATH_METADATA = r"pages/(?P<prefix>([^/]+/)|)(?P<slug>.*)"
1615
ARTICLE_URL = "news/{date:%Y}/{slug}/"
1716
ARTICLE_SAVE_AS = "news/{date:%Y}/{slug}/index.html"
1817
AUTHOR_URL = "author/{slug}/"
@@ -22,6 +21,7 @@
2221
CATEGORY_SAVE_AS = "category/{slug}/index.html"
2322
CATEGORIES_SAVE_AS = "category/index.html"
2423
INDEX_SAVE_AS = "news/index.html"
24+
PATH_METADATA = r"pages/(?P<prefix>([^/]+/)|)(?P<slug>.*)"
2525
PAGE_URL = "{prefix}{slug}/"
2626
PAGE_SAVE_AS = "{prefix}{slug}/index.html"
2727
TAG_URL = "tag/{slug}/"
@@ -38,11 +38,11 @@
3838
AUTHOR_FEED_RSS = None
3939

4040
# Plugins
41-
PLUGIN_PATHS = ["plugins"]
42-
PLUGINS = ["linkclass"]
41+
PLUGIN_PATHS = ("plugins",)
42+
PLUGINS = ("linkclass",)
4343

4444
# Theme
45-
#THEME = "theme"
45+
THEME = "simple"
4646
# TODO: LINKS/SOCIAL
4747
LINKS = (
4848
("Pelican", "https://getpelican.com/"),

publishconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
RELATIVE_URLS = False
1111
TYPOGRIFY = True
12-
TYPOGRIFY_OMIT_FILTERS = ["amp", "caps", "initial_quotes", "widont"]
12+
TYPOGRIFY_OMIT_FILTERS = ("amp", "caps", "initial_quotes", "widont",)
1313

1414
FEED_DOMAIN = "https://aio-libs.org"
1515
FEED_ATOM = "feeds/atom.xml"

0 commit comments

Comments
 (0)