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" -}}
{{- /* Title */ -}}
- {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") -}}
+ {{- .Params.Title | default (T .Section) | default .Section | string | printf (T "allSome" | string) -}}
{{- /* Paginate */ -}}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 533789c..737c9b3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -12,7 +12,7 @@
{{- if ne .Site.Params.footer.hugo false -}}
{{- end -}}
diff --git a/layouts/partials/init.html b/layouts/partials/init.html
index c5b2825..508d74d 100644
--- a/layouts/partials/init.html
+++ b/layouts/partials/init.html
@@ -1,4 +1,4 @@
-{{- .Scratch.Set "version" "0.2.8" -}}
+{{- .Scratch.Set "version" "0.2.9" -}}
{{- /* LoveIt theme version detection */ -}}
{{- $VERSION := "0.2.X" -}}
diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html
index 8e28018..303d70d 100644
--- a/layouts/partials/single/footer.html
+++ b/layouts/partials/single/footer.html
@@ -6,7 +6,7 @@
- {{- printf (T "lastMod") $modify_date -}}
+ {{- $modify_date | string | printf (T "lastMod" | string) -}}
{{- if .Site.Params.gitRepo -}}
{{- with .GitInfo -}}
@@ -17,9 +17,9 @@
- {{- with $params.license -}}
+ {{- with $params.license | string -}}
- {{- printf (T "license") . | safeHTML -}}
+ {{- printf (T "license" | string) . | safeHTML -}}
{{- end -}}
diff --git a/layouts/posts/rss.xml b/layouts/posts/rss.xml
index 2d3a005..67e2794 100644
--- a/layouts/posts/rss.xml
+++ b/layouts/posts/rss.xml
@@ -1,13 +1,13 @@
- {{- .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 -}}
{{- .Permalink -}}
- {{- .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 -}}
Hugo -- gohugo.io
{{- with .Site.LanguageCode -}}
diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html
index 384f8b2..f53d1ae 100644
--- a/layouts/taxonomy/terms.html
+++ b/layouts/taxonomy/terms.html
@@ -1,5 +1,5 @@
{{- define "title" -}}
- {{- .Params.Title | default (T .Data.Plural) | default .Data.Plural | printf (T "allSome") }} - {{ .Site.Title -}}
+ {{- .Params.Title | default (T .Data.Plural) | default .Data.Plural | string | printf (T "allSome" | string) }} - {{ .Site.Title -}}
{{- end -}}
{{- define "content" -}}
@@ -10,7 +10,7 @@
{{- /* Title */ -}}
- {{- .Params.Title | default (T $taxonomies) | default $taxonomies | printf (T "allSome") -}}
+ {{- .Params.Title | default (T $taxonomies) | default $taxonomies | string | printf (T "allSome" | string) -}}
{{- /* Categories Page */ -}}