From 7cc579f197f2300043ffeed9a0831fbfdc57fe3c Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 22 Sep 2020 12:04:14 +0530 Subject: [PATCH] i18n: add support for toc translation --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8c037ffc..27c79d0d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,7 +23,7 @@
-
Table of Contents
+
{{ i18n "toc" | default "Table of Contents" }}
{{ partial "toc.html" . }}