never ever ever leave a {% trans %}{% endtrans %} block empty, or it will break like half the languages for some mysterious reason
This commit is contained in:
@ -140,6 +140,8 @@ def render_blog_post(slug):
|
||||
with codecs.open(path, encoding='utf-8') as fd:
|
||||
content = fd.read()
|
||||
|
||||
print(content)
|
||||
|
||||
# render the post with Jinja2 to handle URLs etc.
|
||||
rendered_content = render_template_string(content)
|
||||
|
||||
|
Reference in New Issue
Block a user