1 Commits
v1.0 ... v1.1

Author SHA1 Message Date
0e16b03230 fix typo 2021-08-29 16:13:48 +02:00

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: