Browse Source

fix typo

master
max.mehl 3 months ago
parent
commit
0e16b03230
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 4
      README.md

4
README.md

@ -16,7 +16,7 @@ Automagical css image gallery in [Hugo](https://gohugo.io/) using shortcodes. No
- Use the `{{< snap-dir >}}` shortcode inside a `{{< gallery >}}` to show all containing files nicely
- Next/prev buttons in galleries
- The gallery is responsive, images are scaled/cropped to fill square tiles
- Pretty captions outside and inside lightbox
- Pretty captions outside and inside lightbox
- Only requires 4kB of CSS (unminified; you can minify it if you want)
- CSS is automatically loaded the first time you use the `{{< figure >}}` shortcode on each page
@ -35,7 +35,7 @@ theme = [ "hugo-sustain", "hugo-snap-gallery" ]
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" 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
Optional parameters:

Loading…
Cancel
Save