Using labels, you can categorise pages and refer to content across multiple categories, pages and even spaces.
Example
For the purpose of this example, imagine we have a space with pages of content on various types of vehicles. Pages are shown in bold text, while the labels are in blue.
- Cars vehicle-type
- Toyota Prius vehicle car
- Honda Civic vehicle car
- Porshe Carrera vehicle car
- Motorbikes vehicle-type
- Harley Davidson Sportster vehicle motorbike
- Suzuki GSX-R vehicle motorbike
This page hierarchy can then be categorised using labels, with pages referenced using the Content by Label Macro.
If you want to list... | You would use this label: | These would be the pages that you would get: |
---|---|---|
Vehicle types |
| Cars, Motorbikes |
All vehicles |
| Toyota Prius, Honda Civic, Porshe Carrera, Harley Davidson Sportster, Suzuki GSX-R |
All cars |
| Toyota Prius, Honda Civic, Porshe Carrera |
Label macros
Navmap macro
The Navigation Map macro renders the list of pages associated with a specified label as a navigation map.
Related Labels macro
The Related Labels macro lists labels commonly associated with the current page's labels.
Content by Label macro
The Content by Label macro displays a list of content marked with specified labels.
Content Report Table macro
TheĀ Content Report Table macro displays a set of pages and blog posts in tabular format, based on the specified labels.
Labels List macro
The Labels List macro lists all labels of a space, grouped alphabetically.
Recently Used Labels macro
The Recently Used Labels macro lists labels most recently used in a specified scope - global (site), space, or personal.
Popular Labels macro
The Popular Labels macro displays popular labels in a list or in a heatmap (also called a cloud).