From 35b5e1d420dacec60d2a9024993db4b58b0faabf Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 24 Mar 2021 19:29:27 +0000 Subject: [PATCH] feat: move media library from static/ to assets/ Refactor: - business JSON-LD - site_head - Slider - Gallery - Video Gallery is now intended only for local images in the page bundle (so that they can be optimized by Hugo). Close #2119 --- .../layouts/partials/jsonld/business.html | 3 +- wowchemy/layouts/partials/site_head.html | 5 -- wowchemy/layouts/partials/widgets/slider.html | 26 +++++++--- wowchemy/layouts/shortcodes/gallery.html | 29 ++--------- wowchemy/layouts/shortcodes/video.html | 52 +++++++++++-------- 5 files changed, 54 insertions(+), 61 deletions(-) diff --git a/wowchemy/layouts/partials/jsonld/business.html b/wowchemy/layouts/partials/jsonld/business.html index 5064faae..31da7e1d 100644 --- a/wowchemy/layouts/partials/jsonld/business.html +++ b/wowchemy/layouts/partials/jsonld/business.html @@ -1,3 +1,4 @@ +{{- $sharing_image := resources.GetMatch (path.Join "media" "sharing.*") -}}