don't parse numbers in album titles
e.g. '2022' -> '2020nd'
This commit is contained in:
parent
198df94647
commit
0a88edb862
@ -33,7 +33,7 @@
|
|||||||
{{- $part := $element | humanize }}
|
{{- $part := $element | humanize }}
|
||||||
/ <a href="{{ $.Site.BaseURL }}{{ $path }}"><strong>{{ cond $crumb_is_title ((($.Site.GetPage $path).Title) | default $part) $part }}</strong></a>
|
/ <a href="{{ $.Site.BaseURL }}{{ $path }}"><strong>{{ cond $crumb_is_title ((($.Site.GetPage $path).Title) | default $part) $part }}</strong></a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $cur_part := (index $url_parts (sub $use_part_cnt 1)) | humanize }}
|
{{- $cur_part := (index $url_parts (sub $use_part_cnt 1)) }}
|
||||||
/ {{ cond $crumb_is_title (.Title | default $cur_part) $cur_part }}
|
/ {{ cond $crumb_is_title (.Title | default $cur_part) $cur_part }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</h1>
|
</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user