{{- /* Renders appendices and corrigenda for an item. @params toc The page ToC. @params appendices The item's appendices. Optional. @params fileDir The file folder name. */ -}} {{ $empty_toc_html := "" }} {{ if and ( .toc ) ( ne .toc $empty_toc_html ) }} {{ end }}