From 75d661632a522ac414654d5234f9a447396b0274 Mon Sep 17 00:00:00 2001
From: Andreas Caravella <andreas.caravella@gmail.com>
Date: Mon, 04 Feb 2019 16:04:39 +0000
Subject: [PATCH] enable localization/modification of "Recent" string (#154)
---
layouts/index.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 3480c04..8ff836d 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 }}
<h1 class="flex-none">
- Recent {{ .Title }}
+ {{$.Param "recent_copy" | default "Recent" }} {{ .Title }}
</h1>
{{ end }}
--
Gitblit v1.10.0