Properly case the eBook tag.
This commit is contained in:
@@ -35,7 +35,12 @@
|
||||
{{ else if .Params.audio }}
|
||||
Audio:
|
||||
{{ else if .Params.tags }}
|
||||
{{ index .Params.tags 0 | title }}:
|
||||
{{ $prefix := (index .Params.tags 0 | title) }}
|
||||
{{ if eq $prefix "Ebook" }}
|
||||
eBook:
|
||||
{{ else }}
|
||||
{{ $prefix }}:
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ .Title }}{{ if and (.Params.subtitle) (and (.Params.author) (.Params.date)) }}
|
||||
|
||||
Reference in New Issue
Block a user