diff options
author | WANG Chucheng <me@wangchucheng.com> | 2022-02-06 20:59:04 +0300 |
---|---|---|
committer | WANG Chucheng <me@wangchucheng.com> | 2022-02-06 20:59:04 +0300 |
commit | ddf263db42012fa1a9cdddaf658716503ea93929 (patch) | |
tree | 9f19c86e3699fe11e33b45fe6131039ab3fc12b4 /layouts/partials/components/post-series.html | |
parent | 022f844c82995cd4b06f4454d3bec755a8fecbb8 (diff) |
style: improve typography
Diffstat (limited to 'layouts/partials/components/post-series.html')
-rw-r--r-- | layouts/partials/components/post-series.html | 22 |
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> |