26 lines
816 B
HTML
26 lines
816 B
HTML
<ul class="post-info">
|
|
<li>Publié le : {{ dateFormat "2006-01-02" (default .Date (.PublishDate)) }}</li>
|
|
{{ if (and (isset .Params "lastmod") (gt (dateFormat "2006-01-02" (.Lastmod)) (dateFormat "2006-01-02" (.PublishDate)))) }}
|
|
<li>Dernière mise à jour : {{ .Lastmod.Format "2006-01-02" }}</li>
|
|
{{ end }}
|
|
{{ with .Params.categories }}
|
|
<li>Catégories :
|
|
<ul>
|
|
{{ range sort . }}
|
|
<li class="post-taxonomies"> <a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a> </li>
|
|
{{ end }}
|
|
</ul>
|
|
</li>
|
|
{{ end }}
|
|
{{ with .Params.tags }}
|
|
<li>Tags :
|
|
<ul>
|
|
{{ range sort . }}
|
|
<li class="post-taxonomies"> <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a> </li>
|
|
{{ end }}
|
|
</ul>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
|