Skip to content

Commit be937eb

Browse files
Update pelicanconf.py
1 parent 2a7c7b9 commit be937eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pelicanconf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import logging
22
import re
33
from pathlib import Path
4-
from types import MappingProxyType
54

65
from jinja2 import Environment, FileSystemLoader
76
from markdown.extensions.admonition import AdmonitionExtension
@@ -53,11 +52,11 @@ def sponsors(preprocessor: Preprocessor, tag: str, markup: str) -> str:
5352
("Test silver sponsor", "https://aiohttp.org/"),
5453
)
5554
_SPONSORS_BRONZE = ("dmTECH",)
56-
SPONSORS = MappingProxyType({
55+
SPONSORS = {
5756
"gold": tuple({"name": s[0], "img": sponsor_img(s[0]), "url": s[1]} for s in _SPONSORS_GOLD),
5857
"silver": tuple({"name": s[0], "url": s[1]} for s in _SPONSORS_SILVER),
5958
"bronze": tuple({"name": s for s in _SPONSORS_BRONZE})
60-
})
59+
}
6160

6261
# URL settings
6362
FILENAME_METADATA = r"(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>.*)"

0 commit comments

Comments
 (0)