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/partials/components/post-series.html')
-rw-r--r--layouts/partials/components/post-series.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/layouts/partials/components/post-series.html b/layouts/partials/components/post-series.html
index ebc3810..a407b81 100644
--- a/layouts/partials/components/post-series.html
+++ b/layouts/partials/components/post-series.html
@@ -1,12 +1,10 @@
-{{ $series := .Site.Taxonomies.series}}
-<div class="bg-secondary-bg rounded p-6">
- <h3 class="text-lg font-semibold mb-4">{{ i18n "seriesOfPosts"}}</h3>
- <div class="content">
- {{ range (.GetTerms "series") }}
- {{ range .Pages }}
- <a href="{{ .Page.Permalink }}">{{ .Page.LinkTitle }}</a>
- <br />
- {{end}}
- {{end}}
- </div>
-</div> \ No newline at end of file
+{{ $series := .Site.Taxonomies.series }}
+<div class="bg-secondary-bg prose max-w-none rounded p-6">
+ <h3>{{ i18n "seriesOfPosts" }}</h3>
+ {{ range (.GetTerms "series") }}
+ {{ range .Pages }}
+ <a href="{{ .Permalink }}" class="no-underline">{{ .LinkTitle }}</a>
+ <br />
+ {{ end }}
+ {{ end }}
+</div>