2019-08-25 08:58:26 +02:00
|
|
|
<ul class="post-info">
|
|
|
|
<li>Publié le : {{ dateFormat "2006-01-02" (default .Date (.PublishDate)) }}</li>
|
2020-05-22 20:18:25 +02:00
|
|
|
{{ if (and (isset .Params "lastmod") (gt (dateFormat "2006-01-02" (.Lastmod)) (dateFormat "2006-01-02" (.PublishDate)))) }}
|
2019-08-25 08:58:26 +02:00
|
|
|
<li>Dernière mise à jour : {{ .Lastmod.Format "2006-01-02" }}</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.categories }}
|
|
|
|
<li>Catégories :
|
|
|
|
<ul>
|
2020-06-15 18:25:06 +02:00
|
|
|
{{ range sort . }}
|
2020-01-19 18:00:55 +01:00
|
|
|
<li class="post-taxonomies"> <a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a> </li>
|
2019-08-25 08:58:26 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.tags }}
|
|
|
|
<li>Tags :
|
|
|
|
<ul>
|
2020-06-15 18:25:06 +02:00
|
|
|
{{ range sort . }}
|
2020-01-19 18:00:55 +01:00
|
|
|
<li class="post-taxonomies"> <a href="{{ "tags" | absURL }}/{{ . | urlize }}">{{ . }}</a> </li>
|
2019-08-25 08:58:26 +02:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
|