From 0b5445ac2c35b407bf717fc1d19976dc56ae6238 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Wed, 20 Feb 2019 21:19:14 +0100 Subject: [PATCH] readd _copy params to templates --- layouts/index.html | 2 +- layouts/partials/summary-with-image.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index bf1aa84..0361bce 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,7 +16,7 @@ {{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}} {{ with .Site.GetPage "section" $section_name }}

- {{ i18n "recentTitle" . }} + {{ $.Param "recent_copy" | default (i18n "recentTitle" .) }}

{{ end }} diff --git a/layouts/partials/summary-with-image.html b/layouts/partials/summary-with-image.html index 9a9f137..da162e3 100644 --- a/layouts/partials/summary-with-image.html +++ b/layouts/partials/summary-with-image.html @@ -20,7 +20,7 @@ - {{ i18n "readMore" }} + {{ $.Param "read_more_copy" | default (i18n "readMore") }} {{/* TODO: add author

By {{ .Author }}

*/}}