aboutsummaryrefslogtreecommitdiff
path: root/layouts/go/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/go/list.html')
-rw-r--r--layouts/go/list.html26
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>