From 4a9307157db069ff4ba1d2d747bd748f11f62c44 Mon Sep 17 00:00:00 2001 From: Paul Mougin Date: Wed, 20 Apr 2022 16:50:33 +0200 Subject: [PATCH] Add Photo Gallery ShortCut --- content/dates/2022-04-15-PontUSSB-Balances.md | 2 +- content/gallery/_index.md | 12 +- layouts/shortcodes/figure.html | 29 ++++ layouts/shortcodes/gallery.html | 41 +++++ layouts/shortcodes/load-photoswipe.html | 71 ++++++++ layouts/shortcodes/video.html | 10 +- static/css/hugo-easy-gallery.css | 159 ++++++++++++++++++ .../images}/2020-01-01 Nouvel An.jpg | Bin static/js/load-photoswipe.js | 80 +++++++++ 9 files changed, 395 insertions(+), 9 deletions(-) create mode 100644 layouts/shortcodes/figure.html create mode 100644 layouts/shortcodes/gallery.html create mode 100644 layouts/shortcodes/load-photoswipe.html create mode 100644 static/css/hugo-easy-gallery.css rename {content/gallery => static/images}/2020-01-01 Nouvel An.jpg (100%) create mode 100644 static/js/load-photoswipe.js diff --git a/content/dates/2022-04-15-PontUSSB-Balances.md b/content/dates/2022-04-15-PontUSSB-Balances.md index 6a38e18..ceeec9e 100644 --- a/content/dates/2022-04-15-PontUSSB-Balances.md +++ b/content/dates/2022-04-15-PontUSSB-Balances.md @@ -7,7 +7,7 @@ date: 2022-04-15T00:00:00+01:00 Balances Publiques en vue de l'Apéro Fanfare du 22 Avril 2022 ### Photos -![GalleryPhoto](/images/2022-04-15/Ds11mXklAMXQbNWnSH6V.jpg) +{{
}} ### Vidéo {{