Fix example of photoswipe gallery
Fix the example of the photoswipe gallery, and fix the typo in the photoswipe hyperlink.
This commit is contained in:
parent
1f8bc8fb24
commit
43ad9b7755
@ -5,12 +5,12 @@ date: 2017-03-20
|
|||||||
tags: ["example", "photoswipe"]
|
tags: ["example", "photoswipe"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.liwen.id.au/photoswipe/) and [Gert-Jan van den Berg](https://github.com/GjjvdBurg/HugoPhotoSwipe) for making galleries with [PhotoSwipe]((http://photoswipe.com) .
|
Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.liwen.id.au/photoswipe/) and [Gert-Jan van den Berg](https://github.com/GjjvdBurg/HugoPhotoSwipe) for making galleries with [PhotoSwipe](http://photoswipe.com) .
|
||||||
|
|
||||||
{{< gallery >}}
|
{{< gallery >}}
|
||||||
{{< figure thumb="-thumb" link="/img/hexagon.jpg" >}}
|
{{< figure thumb="-thumb" link="/img/hexagon.jpg" >}}
|
||||||
{{< figure thumb="-thumb" link="/img/sphere.jpg" alt="Sphere">}}
|
{{< figure thumb="-thumb" link="/img/sphere.jpg" alt="Sphere" >}}
|
||||||
{{< figure thumb="-thumb" link="/img/triangle.jpg" alt="Triangle" caption="This is a long comment about a triangle">}}
|
{{< figure thumb="-thumb" link="/img/triangle.jpg" alt="Triangle" caption="This is a long comment about a triangle" >}}
|
||||||
{{< /gallery >}}
|
{{< /gallery >}}
|
||||||
{{< pswp-init >}}
|
{{< pswp-init >}}
|
||||||
|
|
||||||
@ -20,8 +20,8 @@ The above gallery was created using the following shortcodes:
|
|||||||
```
|
```
|
||||||
{{</* gallery */>}}
|
{{</* gallery */>}}
|
||||||
{{</* figure thumb="-thumb" link="/img/hexagon.jpg" */>}}
|
{{</* figure thumb="-thumb" link="/img/hexagon.jpg" */>}}
|
||||||
{{</* figure thumb="-thumb" link="/img/sphere.jpg" */>}}
|
{{</* figure thumb="-thumb" link="/img/sphere.jpg" alt="Sphere" */>}}
|
||||||
{{</* figure thumb="-thumb" link="/img/triangle.jpg" */>}}
|
{{</* figure thumb="-thumb" link="/img/triangle.jpg" alt="Triangle" caption="This is a long comment about a triangle" */>}}
|
||||||
{{</* /gallery */>}}
|
{{</* /gallery */>}}
|
||||||
{{</* pswp-init */>}}
|
{{</* pswp-init */>}}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user