nextDESIGN/layouts/partials/list-post.html
2022-03-06 16:30:06 +01:00

27 lines
572 B
HTML

<p id="date">{{.Date.Format "2006-01-02"}}</p>
<p>
<div class="tagories">
{{ with .Params.categories }}
<span id="categories">
{{ range . }}
<a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
{{ end }}
{{ with .Params.tags }}
<span id="tags">
{{ range . }}
<a href="{{ "tags" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
{{ end }}
</div>
</p>
<p>
{{ .Summary }}
</p>
{{- if .Truncated -}}
<p><a href="{{.Permalink}}">Read more</a></p>
{{- end -}}