mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-02 06:44:27 +00:00
9 lines
257 B
Plaintext
9 lines
257 B
Plaintext
{{ define "summary" }}
|
|
<article>
|
|
{{ with p . "title" }}<h2>{{ . }}</h2>{{ end }}
|
|
{{ with .Published }}<p>{{ dateformat . "02. Jan 2006" }}</p>{{ end }}
|
|
<p>{{ summary . }}</p>
|
|
<a href="{{ .Path }}">View</a>
|
|
</article>
|
|
<hr>
|
|
{{ end }} |