{{ define "main" }}
{{ partial "components/logo" (dict "link" "library" "ctx" . "class" "round-sticker absolute w-8 h-8 md:w-20 md:h-20 top-8 -right-8 md:-right-12" "imageClass" "w-full") }}

{{ .Title }}

{{ with .Params.authors }}{{ delimit . ", " }}{{ end }}

{{ partial "components/rating" .Params.rating }}
{{ partial "content" . }}

于 {{ partial "components/date" . }} 读完

{{ partial "components/tags" . }}

{{ partial "components/backlinks" (dict "filename" .File.BaseFileName "type" "library" "context" .) }} {{ partial "posts/interaction" . }} {{ partial "components/back-to-top.html" . }} {{ partial "components/microformats" . }} {{ with .Params.authors }} {{ $author := index . 0 }} {{ $term := index $.Site.Taxonomies.authors (lower $author) }} {{ if and $term (gt (len $term.Pages) 1) }}

我读过的 {{ $author }} 的其它书籍

{{ range $term.Pages }} {{ if ne .File.UniqueID $.File.UniqueID }}
{{ partial "components/book" (dict "ctx" .) }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }}