From 47adfd5f7d5f4dc54eef4410311e65073c4b2059 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 11 Oct 2021 20:50:09 -0500 Subject: [PATCH] List translations on pages --- layouts/partials/post-metadata.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html index 3d1718b..683a69a 100644 --- a/layouts/partials/post-metadata.html +++ b/layouts/partials/post-metadata.html @@ -20,6 +20,15 @@ {{ end }} {{ end }} + {{ if .IsTranslated }} + + {{ partialCached "icon.html" "globe" "globe" }} + {{ range .Translations }} + {{ .Language }} + {{ end }} + + {{ end }} + {{ if .Site.Params.wordcount }} {{ partialCached "icon.html" "type" "type" }}