diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-11 01:58:43 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-11 01:58:43 +0300 |
commit | 57bc97fd817f819d40ccbfc5060a49a58b7e579d (patch) | |
tree | 8f9b0ff0ac0af3288107880a74c0e5e1697ca9b6 /layouts/go/list.html | |
parent | b2ae4dbfef80c1b7924a4cb101430d18acbc8686 (diff) |
Auto-commit 2024-12-11
Diffstat (limited to 'layouts/go/list.html')
-rw-r--r-- | layouts/go/list.html | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/layouts/go/list.html b/layouts/go/list.html index 860fd5c..b040d05 100644 --- a/layouts/go/list.html +++ b/layouts/go/list.html @@ -20,7 +20,31 @@ {{ end }} {{ $paginator := .Paginate .Pages 7 }} {{ range $paginator.Pages }} - {{ partial "list.html" . }} + <article> + <header> + <div class="row between-xs"> + <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> + + </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> + <a href="https://godoc.neonxp.ru/neonxp.ru/go/{{ .Params.Name }}"> + <img src="https://godoc.neonxp.ru/neonxp.ru/go/{{ .Params.Name }}?status.svg" /> + </a> + <pre>go get neonxp.ru/go/{{ .Params.Name }}</pre> + </footer> + </article> {{ end }} <nav>{{ partial "pagination.html" . }}</nav> </div> |