aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/shortcodes/callout.html
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31Minor shortcode tweaks and consistency changesXhmikosR1-2/+1
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-1/+1
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-1/+1
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2019-03-13Switch to Hugo.XhmikosR1-0/+10
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!