Show a global alert. Optionally, make it dismissible.

See also: Alert


The global alert is visible on all pages when activated (at the top). Switch it on by setting alert = true and make it dismissible by setting alertDismissable = true in ./config/_default/params.toml:


# Alert
alert = true
alertDismissable = true
alertText = "Deliver web projects 10x faster. <a class=\"alert-link\" href=\"\" target=\"_blank\" rel=\"noopener\">Get the free enterprise paper →</a>"

Will be processed into:

Global alert

Edit this page on GitHub