What is a Slot ?

About

slot are placeholders in the template that are filled with the content of a markup / wiki file.

ComboStrap supports the following slots:

Secondary Slots

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 secondary 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 secondary 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