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/authors/terms.html | |
parent | 022f844c82995cd4b06f4454d3bec755a8fecbb8 (diff) |
style: improve typography
Diffstat (limited to 'layouts/authors/terms.html')
-rw-r--r-- | layouts/authors/terms.html | 23 |
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 }} |