diff options
| -rw-r--r-- | layouts/library/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/library/page.html b/layouts/library/page.html index 4cfbc19..ee8d0fc 100644 --- a/layouts/library/page.html +++ b/layouts/library/page.html @@ -39,7 +39,7 @@ {{ with .Params.authors }} {{ $author := index . 0 }} {{ $term := index $.Site.Taxonomies.authors (lower $author) }} - {{ if and $term (gt (len $term.Pages) 0) }} + {{ if and $term (gt (len $term.Pages) 1) }} <h2>我读过的 {{ $author }} 的其它书籍</h2> <div class="grid grid-cols-4 md:grid-cols-6 items-center gap-4 my-4"> {{ range $term.Pages }} |
