Strap Template - Slot

About

slot are placeholders in the template that can be filled by creating a page.

The Strap template supports the following slot:

For instance:

  • if you want to fill the side slot for the whole website, you would create the side slot page (by default the sidebar page)
  • if you want to fill the side slot only for a specific namespace, you would create the side slot page under this namespace (for instance: namespace:sidebar)

Features

  • A slot can be defined for every namespace (directory). If there is no slot page for a namespace, a slot page is searched in the ascendant namespace (parent, grand parent,…)
  • A slot is automatically hidden and not searchable.
  • Side slots (side and sidekick slots) are rendered for every namespace and regenerated for each namespace changes (page creation, modification, deletion)

Glossary

Bar vs Slot

In ComboStrap, a slot is a place in the template where content can be added while a bar is a UI component such as the menu bar.

Powered by ComboStrap