section optional default (empty)Which part of the page to render: HEAD for the head includes (stylesheets, early scripts) or FOOT for the footer includes (deferred libraries, init code). The two markers split the collected requires into a head block and a footer block. Empty or any other word simply emits the matching placeholder comment, which stays in the page because nothing fills it - in practice you use HEAD and FOOT.
<head>{generate:HEAD}</head><body>...{generate:FOOT}</body>
{generate:FOOT}
{require:aa-jslib}{generate:HEAD}