Files
toha/layouts/partials/helpers/get-author-name.html
T
2020-04-20 01:59:01 +06:00

6 lines
133 B
HTML

{{ $authorName:= "John Doe"}}
{{ if isset .author "name" }}
{{ $authorName = .author.name }}
{{ end }}
{{ return $authorName }}