From 9ecb45bd4e0e07750609347f220acd0455763b64 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 12 Aug 2021 12:02:44 +0800 Subject: fix: inaccurate google translation behavior (#55) --- _includes/extensions/google-translate.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '_includes/extensions') diff --git a/_includes/extensions/google-translate.html b/_includes/extensions/google-translate.html index ce1ef94..9763315 100644 --- a/_includes/extensions/google-translate.html +++ b/_includes/extensions/google-translate.html @@ -2,6 +2,10 @@ {% assign translate_langs = include.translate_langs %} {% endif %} +{% if include.lang %} + {% assign lang = include.lang %} +{% endif %} + @@ -24,7 +28,7 @@