Add raw param to image shortcodes

This commit is contained in:
Will Faught
2023-01-15 23:42:03 -08:00
parent 13910ca440
commit c9a9cf9b61
5 changed files with 40 additions and 5 deletions

View File

@@ -9,6 +9,22 @@ title: Gallery Shortcode
See the images in the example site to understand how the below file patterns work.
Resize the viewport as narrow and wide as you can to see the responsiveness.
Code:
```go-text-template
{{</* paige/gallery */>}}
{{</* paige/gallery image="https://picsum.photos/400/300.webp" raw=true /*/>}}
{{</* /paige/gallery */>}}
```
Result:
{{< paige/gallery >}}
{{< paige/gallery image="https://picsum.photos/400/300.webp" raw=true />}}
{{< /paige/gallery >}}
---
## Rows layout
Code: