mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-02 21:16:55 +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" -}}
|
||||
{{- .Title }} | {{ T .Data.Singular | default (humanize .Data.Singular) }} | {{ .Site.Title -}}
|
||||
{{- .Title | humanize }} | {{ T .Data.Singular | default (humanize .Data.Singular) }} | {{ .Site.Title -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "content" -}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{- 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 -}}
|
||||
|
||||
{{- define "content" -}}
|
||||
|
|
Loading…
Reference in a new issue