fix: 修复关于我们多语言切换和语言切换按钮回退问题
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<div class="section-title">
|
||||
<h2>{% trans '关于我们' %}</h2>
|
||||
</div>
|
||||
{% with about_content=site_settings.about_content_zh|default:site_settings.about_content_en %}
|
||||
{% with about_content=site_settings|ml:'about_content' %}
|
||||
{% if about_content %}
|
||||
<div class="about-content">
|
||||
{{ about_content|safe }}
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% if not site_settings.about_content_zh and not site_settings.about_content_en %}
|
||||
{% if not site_settings.about_content_zh and not site_settings.about_content_en and not about_content %}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="section-title">
|
||||
|
||||
Reference in New Issue
Block a user