Component relationship
Preview#
Use site="main" with an explicit label when the real example lives on the main site instead of the brand documentation site.
Example
{{< component-relationship to="/docs/site-implementation/shortcodes/tabs" >}}When to use
A link from a dependent interface to the parent that renders its real example.
Implementation
layouts/shortcodes/component-relationship.htmlOptions
| Option | Read by the shortcode template |
|---|---|
to | Read by the shortcode template |
site | Read by the shortcode template |
label | Read by the shortcode template |
Interface manifest
- Kind
- Shortcode
- Category
- Navigation
- Status
- Implemented
- Implementation
- Shortcode:
layouts/shortcodes/component-relationship.html