From 128a10fd3bae307ab4c092cc78ea6071f18ddd29c8b58c0d414acf3980e2c8d6 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Tue, 1 Aug 2023 00:00:00 +0000 Subject: Add multilingual support for single pages --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 1e56f7f..850d57e 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -73,7 +73,7 @@ {{- if and (.Page.Params.makerefs | default true) $refs }} {{- $ref_index := 0 }} -## Links +## {{ i18n "links" }} {{- range $refs }} {{- $ref_index = add $ref_index 1 }} {{- $ref_text := index . 1 }} -- cgit v1.2.3