diff --git a/exampleSite/content/shortcodes/gallery/1-1.jpg b/exampleSite/content/shortcodes/gallery/1-2.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/1-1.jpg rename to exampleSite/content/shortcodes/gallery/1-2.jpg diff --git a/exampleSite/content/shortcodes/gallery/4-10.jpg b/exampleSite/content/shortcodes/gallery/10.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/4-10.jpg rename to exampleSite/content/shortcodes/gallery/10.jpg diff --git a/exampleSite/content/shortcodes/gallery/5-11.jpg b/exampleSite/content/shortcodes/gallery/11.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/5-11.jpg rename to exampleSite/content/shortcodes/gallery/11.jpg diff --git a/exampleSite/content/shortcodes/gallery/5-12.jpg b/exampleSite/content/shortcodes/gallery/12.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/5-12.jpg rename to exampleSite/content/shortcodes/gallery/12.jpg diff --git a/exampleSite/content/shortcodes/gallery/5-13.jpg b/exampleSite/content/shortcodes/gallery/13.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/5-13.jpg rename to exampleSite/content/shortcodes/gallery/13.jpg diff --git a/exampleSite/content/shortcodes/gallery/5-14.jpg b/exampleSite/content/shortcodes/gallery/14.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/5-14.jpg rename to exampleSite/content/shortcodes/gallery/14.jpg diff --git a/exampleSite/content/shortcodes/gallery/5-15.jpg b/exampleSite/content/shortcodes/gallery/15.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/5-15.jpg rename to exampleSite/content/shortcodes/gallery/15.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-16.jpg b/exampleSite/content/shortcodes/gallery/16.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-16.jpg rename to exampleSite/content/shortcodes/gallery/16.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-17.jpg b/exampleSite/content/shortcodes/gallery/17.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-17.jpg rename to exampleSite/content/shortcodes/gallery/17.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-18.jpg b/exampleSite/content/shortcodes/gallery/18.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-18.jpg rename to exampleSite/content/shortcodes/gallery/18.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-19.jpg b/exampleSite/content/shortcodes/gallery/19.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-19.jpg rename to exampleSite/content/shortcodes/gallery/19.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-20.jpg b/exampleSite/content/shortcodes/gallery/20.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-20.jpg rename to exampleSite/content/shortcodes/gallery/20.jpg diff --git a/exampleSite/content/shortcodes/gallery/6-21.jpg b/exampleSite/content/shortcodes/gallery/21.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/6-21.jpg rename to exampleSite/content/shortcodes/gallery/21.jpg diff --git a/exampleSite/content/shortcodes/gallery/decor-22.jpg b/exampleSite/content/shortcodes/gallery/22.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/decor-22.jpg rename to exampleSite/content/shortcodes/gallery/22.jpg diff --git a/exampleSite/content/shortcodes/gallery/dress-23.jpg b/exampleSite/content/shortcodes/gallery/23.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/dress-23.jpg rename to exampleSite/content/shortcodes/gallery/23.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-24.jpg b/exampleSite/content/shortcodes/gallery/24.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-24.jpg rename to exampleSite/content/shortcodes/gallery/24.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-ring-25.jpg b/exampleSite/content/shortcodes/gallery/25.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-ring-25.jpg rename to exampleSite/content/shortcodes/gallery/25.jpg diff --git a/exampleSite/content/shortcodes/gallery/light-26.jpg b/exampleSite/content/shortcodes/gallery/26.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/light-26.jpg rename to exampleSite/content/shortcodes/gallery/26.jpg diff --git a/exampleSite/content/shortcodes/gallery/light-person-sky-27.jpg b/exampleSite/content/shortcodes/gallery/27.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/light-person-sky-27.jpg rename to exampleSite/content/shortcodes/gallery/27.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-ring-28.jpg b/exampleSite/content/shortcodes/gallery/28.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-ring-28.jpg rename to exampleSite/content/shortcodes/gallery/28.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-29.jpg b/exampleSite/content/shortcodes/gallery/29.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-29.jpg rename to exampleSite/content/shortcodes/gallery/29.jpg diff --git a/exampleSite/content/shortcodes/gallery/2-3.jpg b/exampleSite/content/shortcodes/gallery/3.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/2-3.jpg rename to exampleSite/content/shortcodes/gallery/3.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-30.jpg b/exampleSite/content/shortcodes/gallery/30.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-30.jpg rename to exampleSite/content/shortcodes/gallery/30.jpg diff --git a/exampleSite/content/shortcodes/gallery/cake-31.jpg b/exampleSite/content/shortcodes/gallery/31.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/cake-31.jpg rename to exampleSite/content/shortcodes/gallery/31.jpg diff --git a/exampleSite/content/shortcodes/gallery/table-32.jpg b/exampleSite/content/shortcodes/gallery/32.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/table-32.jpg rename to exampleSite/content/shortcodes/gallery/32.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-ring-person-33.jpg b/exampleSite/content/shortcodes/gallery/33.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-ring-person-33.jpg rename to exampleSite/content/shortcodes/gallery/33.jpg diff --git a/exampleSite/content/shortcodes/gallery/ring-person-34.jpg b/exampleSite/content/shortcodes/gallery/34.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/ring-person-34.jpg rename to exampleSite/content/shortcodes/gallery/34.jpg diff --git a/exampleSite/content/shortcodes/gallery/decor-35.jpg b/exampleSite/content/shortcodes/gallery/35.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/decor-35.jpg rename to exampleSite/content/shortcodes/gallery/35.jpg diff --git a/exampleSite/content/shortcodes/gallery/attire-flower-person-36.jpg b/exampleSite/content/shortcodes/gallery/36.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/attire-flower-person-36.jpg rename to exampleSite/content/shortcodes/gallery/36.jpg diff --git a/exampleSite/content/shortcodes/gallery/flower-table-37.jpg b/exampleSite/content/shortcodes/gallery/37.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/flower-table-37.jpg rename to exampleSite/content/shortcodes/gallery/37.jpg diff --git a/exampleSite/content/shortcodes/gallery/decor-38.jpg b/exampleSite/content/shortcodes/gallery/38.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/decor-38.jpg rename to exampleSite/content/shortcodes/gallery/38.jpg diff --git a/exampleSite/content/shortcodes/gallery/3-4.jpg b/exampleSite/content/shortcodes/gallery/4.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/3-4.jpg rename to exampleSite/content/shortcodes/gallery/4.jpg diff --git a/exampleSite/content/shortcodes/gallery/3-5.jpg b/exampleSite/content/shortcodes/gallery/5.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/3-5.jpg rename to exampleSite/content/shortcodes/gallery/5.jpg diff --git a/exampleSite/content/shortcodes/gallery/3-6.jpg b/exampleSite/content/shortcodes/gallery/6.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/3-6.jpg rename to exampleSite/content/shortcodes/gallery/6.jpg diff --git a/exampleSite/content/shortcodes/gallery/4-7.jpg b/exampleSite/content/shortcodes/gallery/7.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/4-7.jpg rename to exampleSite/content/shortcodes/gallery/7.jpg diff --git a/exampleSite/content/shortcodes/gallery/4-8.jpg b/exampleSite/content/shortcodes/gallery/8.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/4-8.jpg rename to exampleSite/content/shortcodes/gallery/8.jpg diff --git a/exampleSite/content/shortcodes/gallery/4-9.jpg b/exampleSite/content/shortcodes/gallery/9.jpg similarity index 100% rename from exampleSite/content/shortcodes/gallery/4-9.jpg rename to exampleSite/content/shortcodes/gallery/9.jpg diff --git a/exampleSite/content/shortcodes/gallery/index.md b/exampleSite/content/shortcodes/gallery/index.md index f0bbb670..b26a0e53 100644 --- a/exampleSite/content/shortcodes/gallery/index.md +++ b/exampleSite/content/shortcodes/gallery/index.md @@ -17,16 +17,16 @@ Code: ```go-text-template {{}} -{{}} -{{}} +{{}} +{{}} {{}} ``` Result: {{< paige/gallery align="start" >}} -{{< paige/image height="20rem" src="2-2.jpg" >}} -{{< paige/image height="10rem" src="2-3.jpg" >}} +{{< paige/image height="20rem" src="1-2.jpg" >}} +{{< paige/image height="10rem" src="2-2.jpg" >}} {{< /paige/gallery >}} --- @@ -35,16 +35,16 @@ Code: ```go-text-template {{}} -{{}} -{{}} +{{}} +{{}} {{}} ``` Result: {{< paige/gallery align="center" >}} -{{< paige/image height="20rem" src="2-2.jpg" >}} -{{< paige/image height="10rem" src="2-3.jpg" >}} +{{< paige/image height="20rem" src="1-2.jpg" >}} +{{< paige/image height="10rem" src="2-2.jpg" >}} {{< /paige/gallery >}} --- @@ -53,16 +53,16 @@ Code: ```go-text-template {{}} -{{}} -{{}} +{{}} +{{}} {{}} ``` Result: {{< paige/gallery align="end" >}} -{{< paige/image height="20rem" src="2-2.jpg" >}} -{{< paige/image height="10rem" src="2-3.jpg" >}} +{{< paige/image height="20rem" src="1-2.jpg" >}} +{{< paige/image height="10rem" src="2-2.jpg" >}} {{< /paige/gallery >}} ## Height parameter @@ -70,144 +70,144 @@ Result: Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery height="10rem" images="2-*.jpg" />}} +{{< paige/gallery height="10rem" images="*-2.jpg" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery height="20rem" images="2-*.jpg" />}} +{{< paige/gallery height="20rem" images="*-2.jpg" />}} ## Images parameter Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-2.jpg" />}} +{{< paige/gallery images="1-2.jpg" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" />}} +{{< paige/gallery images="*-2.jpg" />}} ## Justify parameter Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" justify="start" />}} +{{< paige/gallery images="*-2.jpg" justify="start" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" justify="center" />}} +{{< paige/gallery images="*-2.jpg" justify="center" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" justify="end" />}} +{{< paige/gallery images="*-2.jpg" justify="end" />}} ## Maxheight parameter Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" maxheight="10rem" />}} +{{< paige/gallery images="*-2.jpg" maxheight="10rem" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" maxheight="20rem" />}} +{{< paige/gallery images="*-2.jpg" maxheight="20rem" />}} ## Maxwidth parameter Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" maxwidth="10rem" />}} +{{< paige/gallery images="*-2.jpg" maxwidth="10rem" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" maxwidth="20rem" />}} +{{< paige/gallery images="*-2.jpg" maxwidth="20rem" />}} ## Method and options parameters Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" method="fill" options="550x550 r90 webp picture Lanczos" />}} +{{< paige/gallery images="*-2.jpg" method="fill" options="550x550 r90 webp picture Lanczos" />}} ## Type @@ -238,24 +238,24 @@ Result: Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" width="10rem" />}} +{{< paige/gallery images="*-2.jpg" width="10rem" />}} --- Code: ```go-text-template -{{}} +{{}} ``` Result: -{{< paige/gallery images="2-*.jpg" width="20rem" />}} +{{< paige/gallery images="*-2.jpg" width="20rem" />}} ## Figure @@ -264,16 +264,16 @@ Code: ```go-text-template {{}} {{}} -{{}} +{{}} {{}} {{}} {{}} {{}} {{}} -{{}} +{{}} {{}} {{}} -{{}} +{{}} {{}} {{}} ``` @@ -282,15 +282,15 @@ Result: {{< paige/gallery >}} {{< paige/figure caption="Image 1" >}} -{{< paige/image src="1-1.jpg" >}} +{{< paige/image src="1-2.jpg" >}} {{< /paige/figure >}} {{< paige/figure caption="Image 2" >}} {{< paige/image src="2-2.jpg" >}} {{< /paige/figure >}} {{< paige/figure caption="Image 3" >}} -{{< paige/image src="2-3.jpg" >}} +{{< paige/image src="3.jpg" >}} {{< /paige/figure >}} {{< paige/figure caption="Image 4" >}} -{{< paige/image src="3-4.jpg" >}} +{{< paige/image src="4.jpg" >}} {{< /paige/figure >}} {{< /paige/gallery >}}