Rename exampleSite to example
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/01-2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 31 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/02-2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 28 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/03.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/04.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/05.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 32 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/06.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 65 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/07.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 87 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/08.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 66 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/09.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 49 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/10.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 41 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/11.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 31 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/12.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 64 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/13.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 45 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/14.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/15.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 22 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/16.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 57 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/17.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 15 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/18.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/19.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 48 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/20.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 18 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/21.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/22.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/23.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 32 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/24.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 28 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/25.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 22 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/26.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 20 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/27.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 21 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/28.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 33 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/29.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/30.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 89 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/31.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 43 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/32.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 42 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/33.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 22 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/34.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 20 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/35.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 42 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/36.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 52 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/37.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 56 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/38.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										443
									
								
								example/content/shortcodes/gallery/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,443 @@ | ||||
| +++ | ||||
| authors = ["author-demo"] | ||||
| categories = ["paige", "shortcodes"] | ||||
| description = "Demonstration of the gallery shortcode." | ||||
| tags = ["figures", "gallery", "images"] | ||||
| title = "Gallery" | ||||
| +++ | ||||
|  | ||||
| The `paige/gallery` shortcode displays a list of content. | ||||
|  | ||||
| <!--more--> | ||||
|  | ||||
| ## Align parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery align="start" */>}} | ||||
| {{</* paige/image height="20rem" src="01-2.jpg" */>}} | ||||
| {{</* paige/image height="10rem" src="02-2.jpg" */>}} | ||||
| {{</* /paige/gallery */>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery align="start" >}} | ||||
| {{< paige/image height="20rem" src="01-2.jpg" >}} | ||||
| {{< paige/image height="10rem" src="02-2.jpg" >}} | ||||
| {{< /paige/gallery >}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery align="center" */>}} | ||||
| {{</* paige/image height="20rem" src="01-2.jpg" */>}} | ||||
| {{</* paige/image height="10rem" src="02-2.jpg" */>}} | ||||
| {{</* /paige/gallery */>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery align="center" >}} | ||||
| {{< paige/image height="20rem" src="01-2.jpg" >}} | ||||
| {{< paige/image height="10rem" src="02-2.jpg" >}} | ||||
| {{< /paige/gallery >}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery align="end" */>}} | ||||
| {{</* paige/image height="20rem" src="01-2.jpg" */>}} | ||||
| {{</* paige/image height="10rem" src="02-2.jpg" */>}} | ||||
| {{</* /paige/gallery */>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery align="end" >}} | ||||
| {{< paige/image height="20rem" src="01-2.jpg" >}} | ||||
| {{< paige/image height="10rem" src="02-2.jpg" >}} | ||||
| {{< /paige/gallery >}} | ||||
|  | ||||
| ## Breakpoints parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery breakpoints=true images="large/*.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery breakpoints=true images="large/*.jpg" />}} | ||||
|  | ||||
| ## Class parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery class="rounded-5" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery class="rounded-5" images="*-2.jpg" />}} | ||||
|  | ||||
| ## Densities parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery densities="1x 2x 3x" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery densities="1x 2x 3x" images="*-2.jpg" />}} | ||||
|  | ||||
| ## Fetchpriority parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery fetchpriority="high" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery fetchpriority="high" images="*-2.jpg" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery fetchpriority="low" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery fetchpriority="low" images="*-2.jpg" />}} | ||||
|  | ||||
| ## Height parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery height="10rem" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery height="10rem" images="*-2.jpg" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery height="20rem" images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery height="20rem" images="*-2.jpg" />}} | ||||
|  | ||||
| ## Images parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="1-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="1-2.jpg" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" />}} | ||||
|  | ||||
| ## Justify parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" justify="start" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" justify="start" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" justify="center" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" justify="center" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" justify="end" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" justify="end" />}} | ||||
|  | ||||
| ## Linked parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" linked="unprocessed" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" linked="unprocessed" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" linked="default" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" linked="default" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" linked="r180" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" linked="r180" />}} | ||||
|  | ||||
| ## Loading parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" loading="eager" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" loading="eager" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" loading="lazy" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" loading="lazy" />}} | ||||
|  | ||||
| ## Maxheight parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" maxheight="10rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" maxheight="10rem" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" maxheight="20rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" maxheight="20rem" />}} | ||||
|  | ||||
| ## Maxwidth parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" maxwidth="10rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" maxwidth="10rem" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" maxwidth="20rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" maxwidth="20rem" />}} | ||||
|  | ||||
| ## Process parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" process="default" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" process="default" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" process="300x300 center crop lanczos picture r180 webp" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" process="300x300 center crop lanczos picture r180 webp" />}} | ||||
|  | ||||
| ## Style parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" style="filter: grayscale(100%)" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" style="filter: grayscale(100%)" />}} | ||||
|  | ||||
| ## Type | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*.jpg" type="grid" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*.jpg" type="grid" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*.jpg" maxheight="10rem" type="rows" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*.jpg" maxheight="10rem" type="rows" />}} | ||||
|  | ||||
| ## Width parameter | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" width="10rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" width="10rem" />}} | ||||
|  | ||||
| --- | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/gallery images="*-2.jpg" width="20rem" /*/>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/gallery images="*-2.jpg" width="20rem" />}} | ||||
|  | ||||
| ## Figure | ||||
|  | ||||
| Code: | ||||
|  | ||||
| ```go-html-template | ||||
| {{</* paige/figure caption="Gallery" */>}} | ||||
| {{</* paige/gallery */>}} | ||||
| {{</* paige/figure caption="Image 1" */>}} | ||||
| {{</* paige/image src="01-2.jpg" */>}} | ||||
| {{</* /paige/figure */>}} | ||||
| {{</* paige/figure caption="Image 2" */>}} | ||||
| {{</* paige/image src="02-2.jpg" */>}} | ||||
| {{</* /paige/figure */>}} | ||||
| {{</* paige/figure caption="Image 3" */>}} | ||||
| {{</* paige/image src="03.jpg" */>}} | ||||
| {{</* /paige/figure */>}} | ||||
| {{</* paige/figure caption="Image 4" */>}} | ||||
| {{</* paige/image src="04.jpg" */>}} | ||||
| {{</* /paige/figure */>}} | ||||
| {{</* /paige/gallery */>}} | ||||
| {{</* /paige/figure */>}} | ||||
| ``` | ||||
|  | ||||
| Result: | ||||
|  | ||||
| {{< paige/figure caption="Gallery" >}} | ||||
| {{< paige/gallery >}} | ||||
| {{< paige/figure caption="Image 1" >}} | ||||
| {{< paige/image src="01-2.jpg" >}} | ||||
| {{< /paige/figure >}} | ||||
| {{< paige/figure caption="Image 2" >}} | ||||
| {{< paige/image src="02-2.jpg" >}} | ||||
| {{< /paige/figure >}} | ||||
| {{< paige/figure caption="Image 3" >}} | ||||
| {{< paige/image src="03.jpg" >}} | ||||
| {{< /paige/figure >}} | ||||
| {{< paige/figure caption="Image 4" >}} | ||||
| {{< paige/image src="04.jpg" >}} | ||||
| {{< /paige/figure >}} | ||||
| {{< /paige/gallery >}} | ||||
| {{< /paige/figure >}} | ||||
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/large/1.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 27 KiB | 
							
								
								
									
										
											BIN
										
									
								
								example/content/shortcodes/gallery/large/2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 45 KiB |