2020-08-05 17:14:10 +00:00
|
|
|
{{ define "summary" }}
|
2020-10-16 18:34:34 +00:00
|
|
|
<article class="h-entry border-bottom">
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ if p .Data "title" }}
|
2020-10-16 18:34:34 +00:00
|
|
|
<h2 class="p-name">
|
|
|
|
<a class="u-url" href="{{ .Data.Path }}">
|
|
|
|
{{ p .Data "title" }}
|
|
|
|
</a>
|
|
|
|
</h2>
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ end }}
|
2020-12-22 22:26:23 +00:00
|
|
|
{{ include "summarymeta" . }}
|
2020-10-16 18:34:34 +00:00
|
|
|
<p class="p-summary">{{ summary .Data }}</p>
|
|
|
|
<p>{{ if (hasp .Data "images") }}🖼️ {{ end }}<a class="u-url" href="{{ .Data.Path }}">{{ string .Blog.Lang "view" }}</a></p>
|
2020-08-05 17:14:10 +00:00
|
|
|
</article>
|
|
|
|
{{ end }}
|