Skip to content

Commit 5cdbc36

Browse files
committed
Tweak
1 parent 6eead74 commit 5cdbc36

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
path: requirements.txt
2828
- name: Build site
29-
run: pelican -D -s publishconf.py
29+
run: pelican -s publishconf.py
3030
- name: Build Pygments CSS
3131
run: pygmentize -S default -f html > output/theme/css/pygment.css
3232
- name: Setup Pages

pelicanconf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def extendMarkdown(self, md: Markdown) -> None:
3939

4040
@LiquidTags.register("sponsors")
4141
def sponsors(preprocessor, tag, markup):
42-
return Markup(sponsor_template.render(SPONSORS=SPONSORS))
42+
txt = sponsor_template.render(SPONSORS=SPONSORS)
43+
print(txt)
44+
return txt
4345

4446

4547
SITENAME = "aio-libs"
@@ -88,7 +90,7 @@ def sponsors(preprocessor, tag, markup):
8890
# Plugins
8991
PLUGIN_PATHS = ("plugins",)
9092
PLUGINS = ("linkclass", "liquid_tags")
91-
LIQUID_TAGS = ("img",)
93+
#LIQUID_TAGS = ("img",)
9294
MARKDOWN = {
9395
"extensions": [
9496
"extra",

0 commit comments

Comments
 (0)