paramcallout
A callout that renders only when a named site param is set.
paramcallout renders its body as a linked callout only when the named site param is set — the link points at the param’s value. It’s the page-level counterpart of the landing banner’s only_when_param.
Use it for “a live demo is running” notes on pages that describe one: deploy previews inject the URL at build time, and the callout simply isn’t there in builds without it.
Source
{{< paramcallout param="exampleurl" icon="squares-four" >}}
A live deployment was configured for this build — open it
{{< /paramcallout >}}
Named params: param (the site param to check, required) and icon.