Use img.html directly if no caption

This commit is contained in:
Will Faught
2023-01-15 23:59:21 -08:00
parent ec7a5138a3
commit dc87c07b24
2 changed files with 42 additions and 16 deletions

View File

@@ -195,6 +195,15 @@ Result:
## Customization
{{< paige/gallery caption="X image" >}}
{{< paige/gallery image="*-1*.jpg" height="10rem" />}}
{{< paige/gallery image="*-1*.jpg" height="10rem" />}}
{{< paige/gallery image="*-1*.jpg" height="10rem" />}}
{{< paige/gallery image="*-1*.jpg" height="10rem" />}}
{{< /paige/gallery >}}
---
Code:
```go-text-template