From a9df87e25f1073fedff8e31c53307f3d0899e68b Mon Sep 17 00:00:00 2001
From: Huy-Ngo
Date: Wed, 13 Jan 2021 13:55:35 +0700
Subject: [PATCH] Do not show translation if there is no translations
---
_layouts/post.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/_layouts/post.html b/_layouts/post.html
index f0c2207..58474b8 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -33,6 +33,7 @@ layout: default
{%- endif -%}
+ {% if postsTrans.size != 1 %}
{{ page.available }}:
@@ -50,6 +51,9 @@ layout: default
+
+ {% endif %}
+
{{ content }}