visualizzazione autore (#222)
visualizzazione dell'autore sia sulla lista dei post/eventi che nella visualizzazione dell'evento stesso. supporta markdown Reviewed-on: #222 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
parent
e28d08b476
commit
a64f9489f7
@ -39,6 +39,9 @@
|
||||
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></a>
|
||||
<div class="inner">
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{- with .Params.author -}}
|
||||
di {{ . | markdownify }}<br/>
|
||||
{{- end -}}
|
||||
{{ if .Site.Params.show_post_dates | default true }}
|
||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
||||
{{ end }}
|
||||
|
@ -2,6 +2,9 @@
|
||||
<header>
|
||||
<h2>{{ .Title }}</h2>
|
||||
<p>{{ .Description }}</p>
|
||||
{{- with .Params.author -}}
|
||||
di {{ . | markdownify }}<br/>
|
||||
{{- end -}}
|
||||
{{ if .Site.Params.show_post_dates | default true }}
|
||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user