[%-# Create a 'Table of Contents' section, if there are more than one # sections # # Expected args: # toc - an array ref with keys: link, title, abstract, subs # (subs is optional and includes a similar array) -%] [%- IF toc.size && toc.size > 1 -%]

Table of Contents

[%- INCLUDE page_toc_section subs=toc -%]
[%- ELSE -%]
[%- END -%]