mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-03 13:36:44 +01:00
Merge pull request #131 from dillonzq/fix/list_title_humanize
fix(list): fix list title humanize bug
This commit is contained in:
commit
da71fee304
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{- define "title" -}}
|
{{- define "title" -}}
|
||||||
{{- .Title }} | {{ T .Data.Singular | default (humanize .Data.Singular) }} | {{ .Site.Title -}}
|
{{- .Title | humanize }} | {{ T .Data.Singular | default (humanize .Data.Singular) }} | {{ .Site.Title -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "content" -}}
|
{{- define "content" -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- define "title" -}}
|
{{- define "title" -}}
|
||||||
{{- T "all" | humanize }}{{ T .Data.Plural | default .Data.Plural | humanize }} | {{ .Site.Title -}}
|
{{- T "all" }}{{ T .Data.Plural | default (humanize .Data.Plural) }} | {{ .Site.Title -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "content" -}}
|
{{- define "content" -}}
|
||||||
|
|
Loading…
Reference in a new issue