统一语言配置位置
支持langs继承
支持归类
This commit is contained in:
undefined committed 2021-05-07 20:00:04 +08:00
1 parent 5902b4d4b6
commit 377ef55d49
27 files changed
+253 -658

No files matched your search

@@ -11,7 +11,7 @@
<h1 class="section__title">{{ _('Code') }}</h1>
</div>
<div class="section__body">
<pre><code class="line-numbers language-{{ (model.system.get('ui-default.lang_highlight_id')|parseYaml)[rdoc['lang']] }}">{{ rdoc['code'] }}</code></pre>
<pre><code class="line-numbers language-{{ model.system.langs[rdoc.lang].highlight }}">{{ rdoc['code'] }}</code></pre>
</div>
</div>
{% endif %}