{{ $ctx := .ctx }} {{ $showSummary := .showSummary }}

in {{ .ctx.Section }}

{{ if eq .ctx.Section "library" }} 读《{{ .ctx.Title }}》 {{ else }} {{ .ctx.Title }} {{ end }} {{ if eq .ctx.Section "fictions" }} 小说 {{ end }}

{{ with .ctx.Params.categories }} {{ end }}
{{ if or $showSummary .ctx.Params.description }}
{{ if $showSummary }} {{ .ctx.Summary }} {{ else if .ctx.Params.description }} {{ .ctx.Params.description }} {{ end }}
{{ end }}