Skip to content

Commit 729e7e2

Browse files
template bump, rebuild, normalize all dates
1 parent 29a28d6 commit 729e7e2

File tree

55 files changed

+468
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+468
-443
lines changed

build.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
CATEGORY_URL = CATEGORY_SAVE_AS = ""
8080
CATEGORIES_SAVE_AS = ""
8181
DISPLAY_CATEGORIES_ON_MENU = False
82-
USE_CATEGORES = False
82+
USE_CATEGORIES = False
8383

8484
# Blogroll
8585
LINKS = (
@@ -210,12 +210,16 @@ def handle_starttag(self, tag: str, attrs: dict[str, str]):
210210
raise ValueError(
211211
"must have one of 'short', 'id', 'list' attribute")
212212
# add global attributes
213-
url += "&cc_load_policy=1&cc_lang_pref=en&rel=0&enablejsapi=1"
213+
# cSpell: ignore enablejsapi
214+
if "?" in url:
215+
url += "&"
216+
else:
217+
url += "?"
218+
url += "cc_load_policy=1&cc_lang_pref=en&rel=0&enablejsapi=1"
214219
attrs = {
215220
"style": ("display:block;margin-left:auto;margin-right:auto;"
216221
f"aspect-ratio:{ratio};width:{width};"
217-
"min-width:500px;"
218-
"max-width:1000px"),
222+
"max-width:90vw"),
219223
"src": url,
220224
"allow": ("accelerometer;autoplay;"
221225
"clipboard-write;encrypted-media;"

docs/2022/lisp-practice/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2022/reverse-engineering-the-feedback-360/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2022/wireworld/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2023/error-out-of-memory/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2023/in-search-of-a-brain/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2023/its-september/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2023/manual-memory-management-madness/index.html

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)