feat: added debug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user