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