diff --git a/README.md b/README.md index c2e3c962..8aff0a5a 100644 --- a/README.md +++ b/README.md @@ -474,7 +474,7 @@ title: Search ### Images -The `paige/figure` shortcode provides a figure with a centered image and an optional centered caption. +The `paige/image` shortcode provides a figure with a centered image and an optional centered caption. The image and caption can optionally be displayed inline instead of centered. The image has optional alt, title, width, and height attributes, and can optionally be wrapped in an anchor. Only the image source parameter is required. @@ -483,7 +483,7 @@ If the image source is a relative path, it is assumed to be a page resource. These are the named parameters with positions, listed in the order of their positions: ``` -{{< paige/figure +{{< paige/image src="https://imgs.xkcd.com/comics/sandwich.png" caption="My caption" link="https://xkcd.com/149" @@ -494,7 +494,7 @@ These are the named parameters with positions, listed in the order of their posi These are the rest of the named parameters: ``` -{{< paige/figure +{{< paige/image height=500 inline=false width=500 >}} diff --git a/layouts/shortcodes/paige/figure.html b/layouts/shortcodes/paige/image.html similarity index 100% rename from layouts/shortcodes/paige/figure.html rename to layouts/shortcodes/paige/image.html