{{ define "main" }}
{{ partial "components/logo" (dict "link" "library" "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 }}

{{- $rating := .Params.rating -}} {{- $fullStars := math.Floor $rating -}}

{{ .Params.author }}

{{- range seq $fullStars }} ⭐ {{- end -}}

{{ .Content }}
{{ partial "posts/endnotes" . }}

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

{{ partial "posts/comment.html" . }}
{{ end }}