diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-29 22:26:59 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-29 22:26:59 +0200 |
| commit | 0622836d5cb3076a6e23ed34583655c152403ca3 (patch) | |
| tree | 2154e9befa4bc5fa09bca3f19b4c2e4e0661c591 /layouts/_default/teaser.html | |
| parent | e10cd65cab6cfcd60f09885aa00f9bb876ca4d1e (diff) | |
| download | gohugo-theme-ed-0622836d5cb3076a6e23ed34583655c152403ca3.tar.gz | |
Add pagination support
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> |
