{{- /* Displays appendices for an item @params pc Page context @params sc Site context */ -}} {{- if ( not ( isset . "sc" ) ) -}} {{- errorf "No site context received" -}} {{- end -}} {{- if ( not ( isset . "pc" ) ) -}} {{- errorf "No page context received (%q)" .sc.Page.File.Dir -}} {{- end -}}

Appendices

{{ $file := path.Join $.sc.Page.File.Dir "appendices.md" | readFile }} {{ $file | .pc.RenderString }}