From 5a419fd465ae4e610cb7192642a9f62be7440951 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 | 4 +- content/gallery/_index.md | 11 +- 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(+), 10 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..cce58b1 100644 --- a/content/dates/2022-04-15-PontUSSB-Balances.md +++ b/content/dates/2022-04-15-PontUSSB-Balances.md @@ -6,8 +6,10 @@ 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 {{