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