From 57bc97fd817f819d40ccbfc5060a49a58b7e579d Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 11 Dec 2024 01:58:43 +0300 Subject: Auto-commit 2024-12-11 --- layouts/go/list.html | 26 +++++++++++++++++++++++++- layouts/go/partials/list.html | 24 ------------------------ layouts/go/single.html | 4 ++++ 3 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 layouts/go/partials/list.html (limited to 'layouts') 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" . }} +
+
+ +
+ {{ if .Params.Image }} + + {{ end }} + {{ if .Description }} + {{ .Description }} + {{ else }} + {{ .Summary }} + {{ if .Truncated }} + Далее... + {{ end }} + {{ end }} +
+ + + +
go get neonxp.ru/go/{{ .Params.Name }}
+
+
{{ end }} diff --git a/layouts/go/partials/list.html b/layouts/go/partials/list.html deleted file mode 100644 index bfdf13b..0000000 --- a/layouts/go/partials/list.html +++ /dev/null @@ -1,24 +0,0 @@ -
-
- -
- {{ if .Params.Image }} - - {{ end }} - {{ if .Description }} - {{ .Description }} - {{ else }} - {{ .Summary }} - {{ if .Truncated }} - Далее... - {{ end }} - {{ end }} -
- {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -
-
\ No newline at end of file diff --git a/layouts/go/single.html b/layouts/go/single.html index 6b287cb..98f41b0 100644 --- a/layouts/go/single.html +++ b/layouts/go/single.html @@ -23,6 +23,10 @@ {{ if .Params.Image }} {{ end }} +
+ Установка: +
go get neonxp.ru/go/{{ .Params.Name }}
+
{{ .Summary }}
{{ .Content }}