Do not show translation if there is no translations

This commit is contained in:
Huy-Ngo 2021-01-13 13:55:35 +07:00
parent e92a1a5eca
commit a9df87e25f
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,7 @@ layout: default
{%- endif -%}</p>
</header>
{% if postsTrans.size != 1 %}
{{ page.available }}:
<div class="lang">
<ul>
@ -50,6 +51,9 @@ layout: default
</div>
<hr>
{% endif %}
<div class="post-content e-content" itemprop="articleBody">
{{ content }}
</div>