diff --git a/exampleSite/content/blog/image-shortcode.md b/exampleSite/content/blog/image-shortcode.md new file mode 100644 index 00000000..f9f0019b --- /dev/null +++ b/exampleSite/content/blog/image-shortcode.md @@ -0,0 +1,29 @@ +--- +categories: [paige] +date: "2023-01-06" +description: Demonstration of the image shortcode. +tags: [figures, shortcodes] +title: Image Shortcode +--- + +Code: + +```go-text-template +{{}} +``` + +Result: + +{{< paige/image src="stretch.webp" >}} + +--- + +Code: + +```go-text-template +{{}} +``` + +Result: + +{{< paige/image src="stretch.webp" caption="Landscape" width="50%" link="https://github.com/willfaught/paige" >}}