feat: added debug

This commit is contained in:
2025-04-10 14:51:17 +02:00
parent fab58de71d
commit 8e64e48097
2 changed files with 29 additions and 10 deletions

View File

@@ -72,9 +72,13 @@ def build():
copy_static()
context = Context()
print(context.get_text({
# debug
t = context.get_text({
"content": """
<h1 class="title">Hello World</h1>
<p class="subtitle">My first website with <strong>Bulma</strong>!</p>
"""
}))
})
with Path(DIST_DIRECTORY, "index.html").open("w") as f:
f.write(t)