Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-05-15 19:46:51 +0300
committerGitHub <noreply@github.com>2020-05-15 19:46:51 +0300
commitacef6c143ed743415c194808f3e471edbe72a307 (patch)
treec5cf5e7b796da17b695ec99aed41c42f702155fa /layouts/_default/section.html
parent8a2bb03e5f3ca114ab03b8535f1b5993297678ba (diff)
fix(format): string format error (#366)
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r--layouts/_default/section.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 9d07c92..a743ca9 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -1,12 +1,12 @@
{{- define "title" }}
- {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} - {{ .Site.Title -}}
+ {{- .Params.Title | default (T .Section) | default .Section | string | printf (T "allSome" | string) }} - {{ .Site.Title -}}
{{- end -}}
{{- define "content" -}}
<div class="page archive">
{{- /* Title */ -}}
<h2 class="single-title animated pulse faster">
- {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") -}}
+ {{- .Params.Title | default (T .Section) | default .Section | string | printf (T "allSome" | string) -}}
</h2>
{{- /* Paginate */ -}}