Add teaser layout for posts

This commit is contained in:
Philipp Oppermann
2016-02-14 15:32:01 +01:00
parent 6be428b248
commit 6c5b577b88

16
layouts/post/teaser.html Normal file
View File

@@ -0,0 +1,16 @@
<article class="post">
<h1 class="post-title">
<a href="{{ .RelPermalink }}">
{{ .Title }}
</a>
</h1>
<span class="post-date">
<time datetime="{{ .Date.Format "2006-01-02" }}" class="post-date">
{{ .Date.Format .Site.Params.date_format }}
</time>
</span>
{{ .Summary }}
</article>