This commit is contained in:
2021-08-29 16:13:48 +02:00
parent 75c0cf2fc3
commit 0e16b03230

View File

@@ -35,7 +35,7 @@ theme = [ "hugo-sustain", "hugo-snap-gallery" ]
Specifying your image files: Specifying your image files:
- `{{< figure src="image.jpg" >}}` will just show the image with no caption, and open the full version of it when clicked - `{{< figure src="image.jpg" >}}` will just show the image with no caption, and open the full version of it when clicked
- `{{< figure src="image.jpg" capation="My description" >}}` will show the image and open the full version of it when clicked, and shows the caption text in both views. Markdown is possible - `{{< figure src="image.jpg" caption="My description" >}}` will show the image and open the full version of it when clicked, and shows the caption text in both views. Markdown is possible
- `{{< figure src="image.jpg" link="http://example.com" >}}` will use `image.jpg` for thumbnail and link to `http://example.com` when clicked - `{{< figure src="image.jpg" link="http://example.com" >}}` will use `image.jpg` for thumbnail and link to `http://example.com` when clicked
Optional parameters: Optional parameters: