Browse Source

enable localization/modification of "Recent" string (#154)

tags/2.39
Andreas Caravella 6 years ago
parent
commit
75d661632a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      layouts/index.html

+ 1
- 1
layouts/index.html View File

{{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}} {{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}}
{{ with .Site.GetPage "section" $section_name }} {{ with .Site.GetPage "section" $section_name }}
<h1 class="flex-none"> <h1 class="flex-none">
Recent {{ .Title }}
{{$.Param "recent_copy" | default "Recent" }} {{ .Title }}
</h1> </h1>
{{ end }} {{ end }}



Loading…
Cancel
Save