diff --git a/exampleSite/content/docs/version-2/upgrade/index.md b/exampleSite/content/docs/version-2/upgrade/index.md index 78f6ae3a..e9222b0e 100644 --- a/exampleSite/content/docs/version-2/upgrade/index.md +++ b/exampleSite/content/docs/version-2/upgrade/index.md @@ -177,7 +177,9 @@ If you have provided an author image or site logo, simply move these assets from ## Step 5: Check content -The behavior of the `figure` shortcode is different in version 2. If you are using `figure` in your content, you may need to adjust the parameters you are providing. Consult the shortcode docs to learn more about supported parameters. +The behavior of the `figure` shortcode is different in version 2. If you are using `figure` in your content and have advanced use cases, you may need to adjust the parameters you are providing. + +Consult the [shortcode docs]({{< ref "docs/shortcodes#figure" >}}) to learn more about supported parameters. ## Step 6: Rebuild diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index f51d7d8c..6c01a4b4 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -3,13 +3,13 @@ {{ with $.Page.Resources.GetMatch (.Destination) }}
{{ $altText }}
{{ $caption | markdownify }}
diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 5a9bbc0b..963ec3e4 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -6,13 +6,13 @@
{{ with $href }}{{ end }} {{ $altText }} {{ if $href }}{{ end }}