.. index:: single: Plugins ############################# Pre-built component plugins ############################# ``djangocms-frontend`` adds a set of plugins to Django-CMS to allow for quick usage of components defined by the underlying css framework, e.g. Bootstrap 5. While ``djangocms-frontend`` is set up to become framework agnostic, its heritage from ``djangocms-bootstrap4`` is intentional and quite visible. Hence for the time being, this documentation references the Bootstrap 5 documentation. .. note:: Custom components can easily be added using :ref:`custom_components`. .. index:: single: Accordion ******************* Accordion component ******************* Build vertically collapsing sections using accordions: .. image:: screenshots/accordion-example.png :alt: An accordion with vertically collapsing sections Accordions consist of an Accordion plugin which has an Accordion Item plugin for each collapsable section. .. image:: screenshots/accordion-plugins.png :alt: The plugin tree of an Accordion with several Accordion Item child plugins :width: 394 Also see Bootstrap 5 `Accordion `_ documentation. Re-usable component example =========================== The accordion component is a good example of a re-usable component. It can be used in all your project's templates. Here is an example of how to create an accordion (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "accordion" accordion_header_type="h2" accordion_flush=False %} {% plugin "accordionitem" accordion_item_header="Accordion item 1" accordion_item_open=True %} Content of accordion item 1 {% endplugin %} {% plugin "accordionitem" accordion_item_header="Accordion item 2" %} Content of accordion item 1 {% endplugin %} {% endplugin %} .. index:: single: Alert *************** Alert component *************** Alerts provide contextual feedback messages for typical user actions with a handful of available alert messages. .. image:: screenshots/alert-example.png :alt: A contextual alert message Alerts can be marked dismissible which implies that a close button is added on the right hand side. .. image:: screenshots/alert-plugins.png :alt: The plugin tree of an Alert plugin :width: 391 .. note:: New features: Alerts can have **shadows** to optically lift them. Also see Bootstrap 5 `Alerts `_ documentation. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "alert" alert_context="primary" alert_dismissible=True %} Alert text goes here! {% endplugin %} .. index:: single: Badge *************** Badge component *************** Badges are small count and labeling components usually in headers and buttons. While often useful if populated automatically as opposed to statically in a plugin, badges are useful, e.g., to mark featured or new headers. .. image:: screenshots/badge-example.png :alt: A badge attached to a heading :width: 180 Also see Bootstrap 5 `Badge `_ documentation. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "badge" badge_text="My badge" badge_context="info" badge_pills=False %} This content is ignored. {% endplugin %} .. index:: single: Card single: CardInner single: CardLayout ************** Card component ************** A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. A card consists of the card wrapper itself, the Card Plugin. It can contain one ore more instances of a Card Inner Plugin for header, body or footer, but also potentially an Image Plugin for the card image or list group components. .. image:: screenshots/card-example.png :alt: A card with a header, body and footer The corresponding plugin tree is here: .. image:: screenshots/card-plugins.png :alt: The plugin tree of a Card with Card Inner and other child plugins :width: 825 Cards can be grouped by a **Card Layout component** offering the ability group cards or display a grid of cards. The latter can be controlled by responsive tools. If you need more granular responsive settings, please revert to :ref:`Grid plugins ` and build your own custom grid. .. warning:: djangocms-bootstrap4 Card Decks are not supported by `Bootstrap 5 `_. Card decks will be converted to grids of cards upon :ref:`Migrating from djangocms-bootstrap4`. Card ==== The card resides in a Card plugin which allows for coloring, opacity and shadow options. .. image:: screenshots/card.png :alt: The Card plugin editing form with coloring, opacity and shadow options Content is added to the card plugin by creating child plugins. These can be of the type `Card inner`_, `Picture / Image`_, `List group`_, or Row. .. note:: New feature: By adding images or list groups directly to a card, unnecessary margins are avoided. Card inner ========== The Card Inner plugin allows to add the card header, body, footer or an overlay space for a card image. .. image:: screenshots/card-inner.png :alt: The Card Inner plugin editing form selecting header, body, footer or overlay Here is an example of the new card **Image overlay** feature: .. image:: screenshots/card-overlay-example.png :alt: A card with text overlaid on its image :width: 298 Also see Bootstrap 5 `Card `_ documentation. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "card" card_alignment="center" card_outline="info" card_text_color="primary" card_full_height=True %} {% plugin "cardinner" inner_type="card-header" text_alignment="start" %}

Card title

{% endplugin %} {% plugin "cardinner" inner_type="card-body" text_alignment="center" %} Some quick example text to build on the card title and make up the bulk of the card's content. {% endplugin %} {% plugin "listgroupitem" %}An item{% endplugin %} {% plugin "listgroupitem" %}A second item{% endplugin %} {% plugin "listgroupitem" %}A third item{% endplugin %} {% endplugin %} .. index:: single: Carousel ****************** Carousel component ****************** A `Carousel `_ is a set of images (potentially with some description) that slide in (or fade in) one after the other after a certain amount of time. Each slide requires a Carousel Slide child plugin. The simplest case specifies an image, potentially a caption and a link which is followed once the slide is clicked. Since the design of carousels is somewhat opinionated template sets can be specified using the ``DJANGOCMS_FRONTEND_CAROUSEL_TEMPLATES`` setting. .. note:: A Carousel Slide plugin can have child plugins itself. If an image is specified the child plugins add to the caption. If no image is specified the child plugins make up the slide. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. note:: Carousel slides read settings from their parent carousel while rendering, so a carousel has to be built inside django CMS. Unlike the other components, it cannot be rendered standalone with the ``{% plugin %}`` tag. .. code-block:: django {% load frontend %} {% plugin "carousel" template="my_template" carousel_controls=True %} {% plugin "carouselslide" %}

Carousel slide title

Some more content...

{% endplugin %} {% plugin "carouselslide" %}

Carousel slide title

Some more content...

{% endplugin %} {% endplugin %} Parameters for ``{% plugin "carousel" %}`` are: * ``template``: The template to use for the carousel. If not specified the default template is used. * ``carousel_controls``: If set to ``True`` the carousel will have controls. * ``carousel_indicators``: If set to ``True`` the carousel will have indicators. * ``carousel_interval``: The interval in milliseconds between slides. If not specified the default interval (5000) is used. * ``carousel_pause``: If set to ``hover`` the carousel will pause on hover. * ``carousel_wrap``: If set to ``True`` the carousel will wrap around. * ``carousel_keyboard``: If set to ``True`` the carousel will react to keyboard events. * ``carousel_ride``: If set to ``True`` the carousel will start sliding automatically. * ``carousel_aspect_ratio``: The aspect ratio of the carousel. If not specified the default aspect ratio (16:9) is used. Parameters for ``{% plugin "carouselslide" %}`` are: * ``carousel_image``: The image to display in the slide. If not specified the slide will be empty. * ``carousel_content``: The HTML caption to display in the slide. ****************** Collapse component ****************** The `Collapse `_ hides text behind its headline and offers the user a trigger (e.g., a button) to reveal itself. Compared to the accordion component the collapse component often is more flexible but also requires more detailed styling. A collapse consists of a Collapse plugin wrapping a Collapse Trigger plugin (the element that toggles the content) and a Collapse Container plugin (the content that is shown or hidden). The trigger and the container are connected by giving them the same identifier. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "collapse" %} {% plugin "collapsetrigger" trigger_identifier="example" %} {% endplugin %} {% plugin "collapsecontainer" container_identifier="example" %}

This content is revealed and hidden by the trigger.

{% endplugin %} {% endplugin %} Parameters for ``{% plugin "collapse" %}`` are: * ``collapse_siblings``: CSS selector used to group collapses into an accordion. Default is ``".card"``. Parameters for ``{% plugin "collapsetrigger" %}`` are: * ``trigger_identifier``: Connects the trigger to the container that carries the same identifier. Required. Parameters for ``{% plugin "collapsecontainer" %}`` are: * ``container_identifier``: Connects the container to the trigger that carries the same identifier. Required. .. index:: single: Jumbotron ******************* Jumbotron component ******************* The jumbotron component is a large header, used e.g. as a page header. It has been part of Bootstrap 4 and is still supported as a convenient way to generate page headers. .. note:: The jumbotron header is not reflected by the table of contents component. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "jumbotron" jumbotron_fluid=False %}

Hello, world!

A large header to showcase the most important content.

{% endplugin %} Parameters for ``{% plugin "jumbotron" %}`` are: * ``template``: The template to use for the jumbotron. If not specified the default template is used. * ``jumbotron_fluid``: If set to ``True`` the jumbotron fills the full width of its container. Default is ``False``. .. index:: single: Link single: Button *********************** Link / Button component *********************** The link / button plugin creates a styled link or button (using the ```` HTML tag). It is designed to allow for external and internal links. Internal links point to a CMS page or pages of other Django applications. They are dynamic, i.e. if the page's url changes (e.g. because it is moved in the page tree) all links pointing to the page change accordingly. If targets are deleted the link will fallback to regular text. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. note:: The link field depends on the configured link backend. The example below uses the default ``link`` field (via the ``to_link`` filter). If ``djangocms-url-manager`` is installed, links are set through ``url_grouper`` and ``site`` instead. .. code-block:: django {% load frontend djangocms_link_tags %} {% plugin "textlink" link="/about/"|to_link link_type="btn" link_context="primary" link_outline=False %} Click me! {% endplugin %} ******************** List group component ******************** List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within. The component consists of a wrapper - ListGroup Plugin - and the items of the list - ListGroupItem Plugin. If the list item is a link it suffices to insert a Link Plugin directly as a child of the ListGroup Plugin. List group ========== The only setting is the list group flush setting. If checked, the list group will be rendered without borders to blend into the surrounding element, e.g. a card. List group item =============== Simple content can be specified by providing "One line content". More complex content of a list group item is rendered by child plugins. If child plugins are available the "one line content" is ignored. List group items can have a context (color), and three state: Regular, active and disabled. .. note:: New feature: Links can be added to list groups and automatically are interpreted as list group items. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "listgroup" list_group_flush=False %} {% plugin "listgroupitem" %}An item{% endplugin %} {% plugin "listgroupitem" list_context="primary" %}A second item{% endplugin %} {% plugin "listgroupitem" list_state="active" %}An active item{% endplugin %} {% endplugin %} Parameters for ``{% plugin "listgroup" %}`` are: * ``list_group_flush``: If set to ``True`` the list group is rendered without borders to blend into a surrounding element. Default is ``False``. Parameters for ``{% plugin "listgroupitem" %}`` are: * ``simple_content``: One-line content of the item. Ignored if the item has child plugins. * ``list_context``: Contextual color of the item, e.g. ``primary``. * ``list_state``: State of the item, either ``active`` or ``disabled``. *************** Media component *************** The media component is another legacy component from djangocms-bootstrap4. ``djangocms-frontend`` recreates it using responsive utilities. A media object consists of a Media plugin which typically contains a media element (e.g. a Picture / Image plugin) next to a Media Body plugin holding the accompanying text. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Neither the Media nor the Media Body plugin take component-specific parameters: .. code-block:: template {% load frontend %} {% plugin "media" %} {% plugin "mediabody" %}
Media heading

Text shown next to the media element.

{% endplugin %} {% endplugin %} .. index:: single: Picture single: Image .. _Picture / Image: ************************* Picture / image component ************************* The image or picture component make responsive picture uploads available as well as responsive embedding of external pictures. .. versionadded:: 1.2 djangocms-text-ckeditor supports dragging and dropping images into a rich text field. If you add the following line to your `settings.py` file, djangocms-text-ckeditor will automatically convert an image dropped into it to a ``djangocms-frontend`` image component. .. code-block:: TEXT_SAVE_IMAGE_FUNCTION = 'djangocms_frontend.contrib.image.image_save.create_image_plugin' Please note, that images dropped into djangocms-text-ckeditor are base64- encoded and take a quite a bit of band width. You may have to increase your `DATA_UPLOAD_MAX_MEMORY_SIZE` setting in `settings.py`. We recommend not using this feature but instead adding a image component through the "CMS Plugin" menu of Ckeditor. .. index:: single: Spacing single: Spacer ***************** Spacing component ***************** The spacing component provides horizontal and/or vertical spacing. If used without child plugins it just provides the amount of space specified on the specified sides. .. note:: If no spacing is selected the spacing component can be used to individually style the content using the attributes fields in "Advanced Settings". Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "spacing" space_property="m" space_sides="y" space_size="3" space_device="md" %} Content with vertical margins on medium screens and larger. {% endplugin %} Parameters for ``{% plugin "spacing" %}`` are: * ``space_property``: ``m`` for margin or ``p`` for padding. Default is ``m``. * ``space_sides``: Side(s) the spacing applies to: ``""`` (all), ``t`` (top), ``r`` (right), ``b`` (bottom), ``l`` (left), ``x`` (left and right) or ``y`` (top and bottom). Default is ``""``. * ``space_size``: Amount of spacing from ``0`` to ``5`` or ``auto``. Default is ``0``. ``auto`` is not available for padding. * ``space_device``: Device from which the spacing applies (and larger): ``""`` (all), ``xs``, ``sm``, ``md``, ``lg``, ``xl`` or ``xxl``. Default is ``""``. .. index:: single: Blockquote ******************** Blockquote component ******************** Creates a ``
`` tag. .. note:: New feature: Alternatively to the un-formatted quote text, child plugins can be used to fill the content of the blockquote. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "blockquote" quote_content="A well-known quotation." quote_origin="Famous Author" quote_alignment="center" %}{% endplugin %} Parameters for ``{% plugin "blockquote" %}`` are: * ``quote_content``: The quotation text. Required (unless child plugins are used). * ``quote_origin``: The source or author of the quotation. * ``quote_alignment``: Alignment of the quote: ``""``, ``start``, ``center`` or ``end``. .. index:: single: Code ************** Code component ************** Have code snippets on your site using this plugin, either inline or as a code block. ``djangocms-frontend`` offers the `ace code editor `_ to enter code bits. .. warning:: By default the ace code editor javascript code is retrieved over the internet from a cdn. If you do not want this to happen, e.g., for data privacy reasons or because your system is not connected to the internet, please use the weak dependency on `djangocms-static-ace `_ by changing your requirement from ``djangocms-frontend`` to ``djangocms-frontend[static-ace]`` and include ``"djangocms_static_ace"`` in your ``INSTALLED_APPS``. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "code" code_type="pre" code_content="print('Hello, world!')" %}{% endplugin %} Parameters for ``{% plugin "code" %}`` are: * ``code_content``: The code snippet to display. Required. * ``code_type``: How the snippet is rendered: ``code`` (inline code), ``pre`` (code block), ``var`` (variables), ``kbd`` (user input) or ``samp`` (sample output). Default is ``code``. .. index:: single: Figure **************** Figure component **************** The figure component supplies a wrapper and a caption for a figure. The figure itself is placed inside the figure component (as child plugins). Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. code-block:: template {% load frontend %} {% plugin "figure" figure_caption="Figure 1: An example figure" figure_alignment="center" %} An example image {% endplugin %} Parameters for ``{% plugin "figure" %}`` are: * ``figure_caption``: The caption shown below the figure. Required. * ``figure_alignment``: Alignment of the figure: ``""``, ``start``, ``center`` or ``end``. .. index:: single: Tabs ************** Tabs component ************** Tabs organize content into separate panes, only one of which is shown at a time. The component consists of a Tabs plugin which wraps one Tab Item plugin for each pane. The tab titles are generated from the Tab Item plugins and let the user switch between panes. Also see Bootstrap 5 `Navs & tabs `_ documentation. .. note:: Bootstrap 5 comes with a fade animation. Additional animations will have to be provided by you or a third party. If you use a CSS animation library, you can make these animations available by adjusting the ``DJANGOCMS_FRONTEND_TAB_EFFECTS`` setting. Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. note:: Tab items read settings from their parent tab while rendering, so tabs have to be built inside django CMS. Unlike the other components, they cannot be rendered standalone with the ``{% plugin %}`` tag. .. code-block:: django {% load frontend %} {% plugin "tab" tab_type="nav-pills" tab_alignment="justify-content-center" %} {% plugin "tabitem" tab_title="Tab 1" tab_bordered=True %}

Content of tab 1

Some content...

{% endplugin %} {% plugin "tabitem" tab_title="Tab 2" tab_bordered=True %}

Content of tab 2

Some more content...

{% endplugin %} {% endplugin %} Parameters for ``{% plugin "tab" %}`` are: * ``template``: The template to use for the tabs. If not specified the default template is used. * ``tab_type``: The type of the tabs. If not specified the default type is used. * ``tab_alignment``: The alignment of the tabs. If not specified the default alignment is used. * ``tab_index``: The index of the initially active tab. If not specified the first tab is active. * ``tab_effect``: The effect of the tabs. ``"fade"`` is available. If not specified no effect is used. Parameters for ``{% plugin "tabitem" %}`` are: * ``tab_title``: The title of the tab. * ``tab_bordered``: If set to ``True`` the tab will have a border. .. index:: single: Icon ************** Icon component ************** .. versionadded:: 1.1 djangocms-frontend's icon plugin supports a variety of popular icon fonts. The icon component is centered around Gilles Migliori's `universal icon picker `_. .. image:: screenshots/icon-picker.png :alt: The universal icon picker showing a grid of selectable icons A version of it is bundled with ``djangocms-frontend``. It currently contains support for the following icon sets: * `Bootstrap icons `_ * `Elegant icons `_ (bundled) * `Feather icons `_ (bundled) * `Fomantic UI icons `_ (bundled) * `Font awesome (regular, solid and brands) `_ * `Foundation icons `_ (bundled) * `Material icons (filled, outlined, sharp, two-tone) `_ * `Open iconic `_ * `Tabler icons `_ * Erik Flowers' `Weather icons `_ (bundled) .. note:: The icon picker needs a config file for each icon set. This requires regular update. Please be patient if new icons do not appear immediately in djangocms-frontend's icon picker or - even better - `create a pull request! `_ .. warning:: You may either use djangocms-icon or djangocms-frontent's icon contrib package but not both, since they both register an ``IconPlugin``. Icon fonts ========== As marked in the overview above, some MIT licenced icon fonts are bundled for convenience. They are available to the web page through static files. For other icon sets source files are loaded from CDN through the internet by default. This is not necessarily a configuration you want to have in a production situation. To specify where to get the required css files from please use the :py:attr:`~settings.DJANGOCMS_FRONTEND_ICON_LIBRARIES` setting. To just restrict the available choices of icon sets for the user use the :py:attr:`~settings.DJANGOCMS_FRONTEND_ICON_LIBRARIES_SHOWN` setting. Icons can be sized. Options for icon sizes are defined by the :py:attr:`~settings.DJANGOCMS_FRONTEND_ICON_SIZE_CHOICES` setting. Adding custom icon fonts ======================== To add a custom icon font you need to generate a config file. This is a json file that tells the icon picker which icons are available. As an example check out the `config file for Bootstrap Icons `_:: { "prefix": "bi bi-", "icon-style": "bi", "list-icon": "bi bi-badge1", "icons": [ "123", "alarm-fill", "alarm", "align-bottom", "align-center", "align-end", ... ] } Icons are rendered as ```` tags with classes. ``.prefix`` defines a string that is prepended to all icons. For Bootstrap icons that's the class ``bi`` and the prefix for the icon selecting class ``bi-``. The list ``.icons`` contains all available icons in the set. ``.list-icon`` contains the classes for the example icon. You can probably ignore it. ``.icon-style`` currently is unused. It may in future determine how icons are rendered. Currently all icons are rendered by ```` except material design icons which are rendered by ``bla``. Using svg sprites ================= Currently only font-based icons are supported. Icon plugins inside text plugins ================================ The icon plugin is text-enabled, i.e., you can add it to a text plugin through djangocms-text-ckeditor's CKEDITOR. By default, however, CKEDITOR removes empty ```` or ```` tags which most icons use. To disable this behavior of CKEDITOR, you need to add a ``customConfig`` entry in ``CKEDITOR_SETTINGS``, e.g., .. code-block:: python CKEDITOR_SETTINGS = { ..., "customConfig": "icon/ckeditor.icons.js", ..., } This will load the ``ckeditor.icons.js`` file which in turn will allow empty ``span`` and ``i`` tags. If you already have a ``customConfig`` file specified it will suffice to add the following two lines to it. .. code-block:: javascript CKEDITOR.dtd.$removeEmpty.span = 0; CKEDITOR.dtd.$removeEmpty.i = 0; Finally, you potentially need to add the necessary icon css files to the ``contentCss`` property of ``CKEDITOR_SETTINGS``, e.g., for bootstrap icons from their cdn .. code-block:: python CKEDITOR_SETTINGS = { ..., "contentsCss": [ ..., "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css", ..., ], ..., } ********** Navigation ********** .. warning:: The navigation plugin is still experimental. We believe for most use cases it is better to create custom navigation using the standard, template-based django CMS template tags like ``show_menu``. If your navigation deviates from you tree structure and needs to be managed by hand, you may want to consider using the navigation plugin. The navigation plugin is a plugin that allows you to create a navigation. All navigation elements are child plugins of the navigation plugin: The navigation plugin itself is just a container for the navigation elements. Possible child plugins are a Nav Brand plugin (the site brand), Nav Link plugins (individual links) and a Page Tree plugin (links generated from the CMS page tree). Re-usable component example =========================== ``djangocms-frontend`` plugins can be used as components. They can be used in all your project's templates. Example (if key word arguments are skipped they fall back to their defaults): .. note:: The navigation builds a menu from the current request, so it has to be rendered within a django CMS page request. Unlike the other components, it cannot be rendered standalone with the ``{% plugin %}`` tag. .. code-block:: django {% load frontend djangocms_link_tags %} {% plugin "navigation" navbar_design="light" navbar_breakpoint="lg" navbar_container=True %} {% plugin "navbrand" simple_content="My site" %}{% endplugin %} {% plugin "navlink" link="/about/"|to_link %}About{% endplugin %} {% plugin "pagetree" start_level=0 %}{% endplugin %} {% endplugin %} Parameters for ``{% plugin "navigation" %}`` are: * ``template``: Layout of the navigation, ``default`` or ``offcanvas``. Default is ``default``. * ``navbar_design``: Color scheme of the navbar, ``light`` or ``dark``. Default is ``light``. * ``navbar_breakpoint``: Device from which the navbar expands (and larger): ``""``, ``xs``, ``sm``, ``md``, ``lg``, ``xl`` or ``xxl``. * ``navbar_container``: If set to ``True`` the navbar is wrapped in a container. Default is ``True``. Parameters for ``{% plugin "navbrand" %}`` are: * ``simple_content``: The brand text. Ignored if the brand has child plugins. Parameters for ``{% plugin "pagetree" %}`` are: * ``start_level``: The level of the page tree to start from (``0`` is the root). Default is ``0``. The Nav Link plugin (``{% plugin "navlink" %}``) accepts the same parameters as the `Link / Button component`_.