From 8317c561f4e998834ff18dc0c24db1feb1c064da Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 31 Dec 2022 22:32:23 -0800 Subject: [PATCH] Rename figure.html to image.html --- README.md | 6 +++--- layouts/shortcodes/paige/{figure.html => image.html} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename layouts/shortcodes/paige/{figure.html => image.html} (100%) 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