mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Start adding support for translations
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user