diff options
Diffstat (limited to 'layouts/_default/teaser.html')
| -rw-r--r-- | layouts/_default/teaser.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_default/teaser.html b/layouts/_default/teaser.html index 8edf8b4..441d779 100644 --- a/layouts/_default/teaser.html +++ b/layouts/_default/teaser.html @@ -1,19 +1,19 @@ -<article class="blog-post"> +<article class="post"> {{/* TODO: partial "post-thumbnail.html" (dict "class" "list" "page" .) */}} <header> - <h2 class="blog-post-title"> + <h2 class="post-title"> <a href="{{ .Permalink }}" rel="bookmark">{{ .Title }}</a> </h2> {{- partial "post-meta.html" . -}} </header> - <p class="blog-post-content"> + <p class="post-content"> {{ .Summary }} </p> - {{- if site.Params.readmore }} - {{- if .Truncated }} - <footer> - <a href="{{ .RelPermalink }}" class="read-more">{{ i18n "more" }}</a> - </footer> - {{- end }} - {{- end }} + {{ if site.Params.readmore }} + {{ if .Truncated }} + <footer> + <a href="{{ .RelPermalink }}" class="read-more">{{ i18n "more" }}</a> + </footer> + {{ end }} + {{ end }} </article> |
