From 0684a1bcabeea301f349ca64fd0440c73eb201fb Mon Sep 17 00:00:00 2001 From: Xavi Aznar Date: Sun, 9 Jun 2019 00:50:38 +0200 Subject: [PATCH 01/15] Replaces hardcoded "Article" header for article listing with optional parameter "articlesLabel" on config file. When listing articles for a Topic, the list was always labeled "Article". If "articlesLabel" is set on [[Languages.]] section of site's config file, it is used as Header for the listing of articles of the topic. If it is not set, "Articles" is used. --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 805d28a..48224af 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -65,7 +65,7 @@

{{ .Title }}

-

Article

+

{{if .Language.Params.articlesLabel }} {{ .Language.Params.articlesLabel }} {{ else }} "Articles" {{ end }}