mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-14 12:47:10 +00:00
9 lines
307 B
Plaintext
9 lines
307 B
Plaintext
{{ define "summary" }}
|
|
<article>
|
|
{{ with p .Data "title" }}<h2>{{ . }}</h2>{{ end }}
|
|
{{ if .Data.Published }}<p>{{ longDate .Data.Published .Blog.Lang }}</p>{{ end }}
|
|
<p>{{ summary .Data }}</p>
|
|
<a href="{{ .Data.Path }}">{{ string .Blog.Lang "view" }}</a>
|
|
</article>
|
|
<hr>
|
|
{{ end }} |