Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html17
1 files changed, 5 insertions, 12 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 47725d5..4f4419f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,14 +1,7 @@
{{ define "main" }}
-<article class="mx-6 my-8">
- <h1 class="font-bold text-3xl text-primary-text">{{ .Title }}</h1>
- {{ with .Content }}
- <div class="content">
- {{ . }}
- </div>
- {{ end }}
-</article>
-<div class="bg-secondary-bg rounded px-6">
+ {{ partial "components/list-article" . }}
+ <div class="bg-secondary-bg rounded px-6">
{{ partial "components/summary-list-plain" .Paginator.Pages }}
-</div>
-{{ template "_internal/pagination.html" . }}
-{{ end }} \ No newline at end of file
+ </div>
+ {{ template "_internal/pagination.html" . }}
+{{ end }}