diff options
Diffstat (limited to 'layouts/partials/list.html')
-rw-r--r-- | layouts/partials/list.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layouts/partials/list.html b/layouts/partials/list.html new file mode 100644 index 0000000..329d47b --- /dev/null +++ b/layouts/partials/list.html @@ -0,0 +1,26 @@ +<article> + <header> + <div class="row between-sm"> + <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> + {{ if .Date }} + <span> + {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} + </span> + {{ end }} + </div> + </header> + {{ if .Params.Image }} + <img src="{{ .RelPermalink }}{{.Params.Image}}" /> + {{ end }} + {{ if .Description }} + {{ .Description }} + {{ else }} + {{ .Summary }} + {{ if .Truncated }} + <a href="{{ .RelPermalink }}">Далее...</a> + {{ end }} + {{ end }} + <footer> + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} + </footer> +</article>
\ No newline at end of file |