You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
494 B
HTML
12 lines
494 B
HTML
{{ $authors := partial "paige/func-authors.html" . }}
|
|
|
|
{{ if or $authors .PublishDate}}
|
|
{{ $class := .Params.paige.about_class | default "text-center text-secondary" }}
|
|
|
|
<p class="{{ $class }}">
|
|
{{- with $authors }}{{ . }}{{ end -}}
|
|
{{- if and $authors .PublishDate }}<br>{{ end -}}
|
|
{{- with .PublishDate }}<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.date_format | default ":date_long") . }}</time>{{ end -}}
|
|
</p>
|
|
{{ end }}
|