nextDESIGN/layouts/partials/list-post.html

28 lines
572 B
HTML
Raw Normal View History

2020-05-15 20:17:59 +02:00
<p id="date">{{.Date.Format "2006-01-02"}}</p>
<p>
2022-02-22 17:34:43 +01:00
<div class="tagories">
2020-05-15 20:17:59 +02:00
{{ with .Params.categories }}
2022-02-22 17:34:43 +01:00
<span id="categories">
{{ range . }}
<a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
2020-05-15 20:17:59 +02:00
{{ end }}
{{ with .Params.tags }}
2022-02-22 17:34:43 +01:00
<span id="tags">
{{ range . }}
<a href="{{ "tags" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
2020-05-15 20:17:59 +02:00
{{ end }}
2022-02-22 17:34:43 +01:00
</div>
2020-05-15 20:17:59 +02:00
</p>
<p>
{{ .Summary }}
</p>
2020-05-15 20:17:59 +02:00
{{- if .Truncated -}}
<p><a href="{{.Permalink}}">Read more</a></p>
2020-05-15 20:17:59 +02:00
{{- end -}}