nextDESIGN/layouts/partials/list-post.html

22 lines
503 B
HTML
Raw Normal View History

2020-05-15 20:17:59 +02:00
<p id="date">{{.Date.Format "2006-01-02"}}</p>
<p>
{{ 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 }}
</p>
{{ .Summary }}
{{- if .Truncated -}}
<p><a href="{{.Permalink}}">Read more</a></p>
{{- end -}}