diff --git a/content/en/about/hugo-and-gdpr.md b/content/en/about/hugo-and-gdpr.md index b1480f632..3e0a160c7 100644 --- a/content/en/about/hugo-and-gdpr.md +++ b/content/en/about/hugo-and-gdpr.md @@ -87,9 +87,9 @@ respectDoNotTrack useSessionStorage : Enabling this will disable the use of Cookies and use Session Storage to Store the GA Client ID. -{{% warning %}} +{{% note %}} `useSessionStorage` is not supported when using Google Analytics v4 (gtag.js). -{{% /warning %}} +{{% /note %}} ### Instagram diff --git a/content/en/content-management/formats.md b/content/en/content-management/formats.md index a98898821..ba988c29b 100644 --- a/content/en/content-management/formats.md +++ b/content/en/content-management/formats.md @@ -46,9 +46,9 @@ Hugo passes reasonable default arguments to these external helpers by default: - `rst2html`: `--leave-comments --initial-header-level=2` - `pandoc`: `--mathjax` -{{% warning "Performance of External Helpers" %}} +{{% note %}} Because additional formats are external commands, generation performance will rely heavily on the performance of the external tool you are using. As this feature is still in its infancy, feedback is welcome. -{{% /warning %}} +{{% /note %}} ### External Helper AsciiDoc diff --git a/content/en/content-management/page-resources.md b/content/en/content-management/page-resources.md index 6f085f257..4bbd159be 100644 --- a/content/en/content-management/page-resources.md +++ b/content/en/content-management/page-resources.md @@ -126,9 +126,9 @@ Resources of type `page` get `Title` etc. from their own front matter. name : Sets the value returned in `Name`. -{{% warning %}} +{{% note %}} The methods `Match`, `Get` and `GetMatch` use `Name` to match the resources. -{{%/ warning %}} +{{% /note %}} title : Sets the value returned in `Title` @@ -172,9 +172,9 @@ From the example above: - All `PDF` files will get a new `Name`. The `name` parameter contains a special placeholder [`:counter`](#the-counter-placeholder-in-name-and-title), so the `Name` will be `pdf-file-1`, `pdf-file-2`, `pdf-file-3`. - Every docx in the bundle will receive the `word` icon. -{{% warning %}} +{{% note %}} The __order matters__ --- Only the **first set** values of the `title`, `name` and `params`-**keys** will be used. Consecutive parameters will be set only for the ones not already set. In the above example, `.Params.icon` is first set to `"photo"` in `src = "documents/photo_specs.pdf"`. So that would not get overridden to `"pdf"` by the later set `src = "**.pdf"` rule. -{{%/ warning %}} +{{% /note %}} ### The `:counter` placeholder in `name` and `title` diff --git a/content/en/content-management/shortcodes.md b/content/en/content-management/shortcodes.md index b59be8163..783c83616 100644 --- a/content/en/content-management/shortcodes.md +++ b/content/en/content-management/shortcodes.md @@ -350,13 +350,13 @@ Using the preceding `vimeo` example, the following HTML will be added to your re {{< vimeo 146022717 >}} {{< /output >}} -{{% tip %}} +{{% note %}} If you want to further customize the visual styling of the YouTube or Vimeo output, add a `class` named parameter when calling the shortcode. The new `class` will be added to the `
` that wraps the `