mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-15 22:35:00 +00:00
14 lines
480 B
Plaintext
14 lines
480 B
Plaintext
{{ define "summary" }}
|
|
<article class="h-entry border-bottom">
|
|
{{ if p .Data "title" }}
|
|
<h2 class="p-name">
|
|
<a class="u-url" href="{{ .Data.Path }}">
|
|
{{ p .Data "title" }}
|
|
</a>
|
|
</h2>
|
|
{{ end }}
|
|
{{ include "summarymeta" . }}
|
|
<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>
|
|
</article>
|
|
{{ end }} |