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/authors/terms.html')
-rw-r--r--layouts/authors/terms.html23
1 files changed, 9 insertions, 14 deletions
diff --git a/layouts/authors/terms.html b/layouts/authors/terms.html
index 678efdd..4e4a9b3 100644
--- a/layouts/authors/terms.html
+++ b/layouts/authors/terms.html
@@ -1,17 +1,12 @@
{{ 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 py-8">
+ {{ partial "components/list-article" . }}
+ <div class="bg-secondary-bg rounded px-6 py-8">
{{ range .Pages }}
- <h2 class="text-lg text-primary-text my-2">
- <a href="{{ .Permalink }}" class="text-eureka hover:underline">{{ .LinkTitle }}</a>
- </h2>
+ <h2 class="text-primary-text my-2 text-lg">
+ <a href="{{ .Permalink }}" class="text-eureka hover:underline"
+ >{{ .LinkTitle }}</a
+ >
+ </h2>
{{ end }}
-</div>
-{{ end }} \ No newline at end of file
+ </div>
+{{ end }}