Lookbook Frame
A catalogue's running footer: the brand, the web address and the page number in letter-spaced small capitals at the foot of every page.
- A footer and no content. One centred, letter-spaced line in
lbFoot: the brand, the web address and$global.PAGE / $global.NUMPAGES. - Placed at the document's root. It goes in the document's
uselist, not in its content, andoverride: truelets its footer win over one the document declares. - No params. The brand and the address are written in the footer's paragraph: copy it and put yours there, and the page tokens keep counting.
- Headers stay with the document. The Product Lookbook takes its footer from it and declares each section's header on that section's break.
The component holds a footer and no content, so it belongs in the document's list of kits, not in its content:
{ "use": [ { "name": "lookbook-frame", "override": true } ] }
override: true lets the frame's footer win over one the document declares itself. The footer reads AURELIA · aurelia.example · $global.PAGE / $global.NUMPAGES: put your own brand and address in its paragraph, and the page tokens keep counting. Restyle it with lbFoot. See Customizing a component.
The Product Lookbook takes its footer from it, while each of its section breaks declares the header for that section.
Features used: headers and footers
- Output
- Template
- Data
The component on a sheet of its ownTry in Playground →