Photoswipe now allows alternate text for caption
Adding changes from hugo-easy-gallery f0e6d5d62f58284beadf98db71861af90f2cff8e
This commit is contained in:
parent
e214c15e36
commit
2a110c80e5
2 changed files with 5 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.
|
|||
{{< gallery caption-effect="fade" >}}
|
||||
{{< figure thumb="-thumb" link="/img/hexagon.jpg" >}}
|
||||
{{< figure thumb="-thumb" link="/img/sphere.jpg" caption="Sphere" >}}
|
||||
{{< figure thumb="-thumb" link="/img/triangle.jpg" caption="This is a long comment about a triangle" >}}
|
||||
{{< figure thumb="-thumb" link="/img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" >}}
|
||||
{{< /gallery >}}
|
||||
{{< load-photoswipe >}}
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ The above gallery was created using the following shortcodes:
|
|||
{{</* gallery caption-effect="fade" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/hexagon.jpg" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/sphere.jpg" caption="Sphere" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/triangle.jpg" caption="This is a long comment about a triangle" */>}}
|
||||
{{</* figure thumb="-thumb" link="/img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" */>}}
|
||||
{{</* /gallery */>}}
|
||||
{{</* load-photoswipe */>}}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue