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:
idk
2023-05-04 04:25:47 +00:00
parent e0e6a2fa76
commit 84d35a67c7
5 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@ Update on Mac Easy Install Notarization
:author: idk,sadie :author: idk,sadie
:date: 2023-01-31 :date: 2023-01-31
:category: release :category: release
:excerpt: {% trans %}{% endtrans %} :excerpt: {% trans %}Easy Install Bundle for Mac is stalled{% endtrans %}
{% trans -%} {% trans -%}
The I2P Easy-Install Bundle for Mac has been experiencing stalled updates for the past 2 releases due to the departure of its maintainer. The I2P Easy-Install Bundle for Mac has been experiencing stalled updates for the past 2 releases due to the departure of its maintainer.

View File

@ -7,7 +7,7 @@ I2P Release 2.2.0
:author: idk :author: idk
:date: 2023-03-13 :date: 2023-03-13
:category: release :category: release
:excerpt: {% trans %}{% endtrans %} :excerpt: {% trans %}Moved Post{% endtrans %}
{% trans -%} {% trans -%}
`This blog post has been moved here </en/blog/post/2023/03/13/new_release_2.2.0>`_ `This blog post has been moved here </en/blog/post/2023/03/13/new_release_2.2.0>`_

View File

@ -7,7 +7,7 @@ I2P Release 2.2.0
:author: idk :author: idk
:date: 2023-03-13 :date: 2023-03-13
:category: release :category: release
:excerpt: {% trans %}{% endtrans %} :excerpt: {% trans %}DDoS Mitigations, New Release Maintainer{% endtrans %}
{% trans -%} {% trans -%}
We have elected to move forward the 2.2.0 release date, which will be occurring today, March 13, 2023. We have elected to move forward the 2.2.0 release date, which will be occurring today, March 13, 2023.

View File

@ -7,7 +7,7 @@ I2P Release 2.2.1
:author: idk :author: idk
:date: 2023-04-12 :date: 2023-04-12
:category: release :category: release
:excerpt: {% trans %}{% endtrans %} :excerpt: {% trans %}Packaging Fixes{% endtrans %}
{% trans -%} {% trans -%}
After the I2P 2.2.0 release, which was moved forward to accelerate mitigations for the DDOS attacks, we learned about a few developing issues which made it necessary to build and release new packages. After the I2P 2.2.0 release, which was moved forward to accelerate mitigations for the DDOS attacks, we learned about a few developing issues which made it necessary to build and release new packages.

View File

@ -140,6 +140,8 @@ def render_blog_post(slug):
with codecs.open(path, encoding='utf-8') as fd: with codecs.open(path, encoding='utf-8') as fd:
content = fd.read() content = fd.read()
print(content)
# render the post with Jinja2 to handle URLs etc. # render the post with Jinja2 to handle URLs etc.
rendered_content = render_template_string(content) rendered_content = render_template_string(content)