Alert
Show a global alert. Optionally, make it dismissible.
See also: Alert
Settings
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
:
Example
# Alert
alert = true
alertDismissable = true
alertText = "Deliver web projects 10x faster. <a class=\"alert-link\" href=\"https://www.netlify.com/whitepaper/\" target=\"_blank\" rel=\"noopener\">Get the free enterprise paper →</a>"
Will be processed into: