diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-28 00:46:17 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-28 00:46:17 +0300 |
commit | 54375572e11d23dacb20c5742d171af3072d7b9c (patch) | |
tree | a190e43087c520846658f7d68cc3bb263427a254 /layouts/partials/list.html | |
parent | 8b78390987476352a6459460e00d5c4cdc0717c2 (diff) |
Серьезная реновация
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 |