Start adding support for translations

This commit is contained in:
Philipp Oppermann
2019-11-26 15:49:46 +01:00
parent e9361e74e8
commit 55a45c7673
3 changed files with 18 additions and 0 deletions

View File

@@ -35,6 +35,13 @@
</div>
{% endif %}
{% if page.lang != "en" %}
<div class="warning">
<b>Translated Content</b>
This page was translated from english. TODO
</div>
{% endif %}
{{ page.content | replace(from="<!-- toc -->", to=macros::toc(toc=page.toc)) | safe }}
<div class="post-footer-support">