diff --git a/layouts/shortcodes/figures/image.html b/layouts/shortcodes/figures/image.html index 1eef8f5..9ce22a1 100644 --- a/layouts/shortcodes/figures/image.html +++ b/layouts/shortcodes/figures/image.html @@ -1,14 +1,10 @@ {{ $img := (.Page.Resources.GetMatch (.Get "name")) }} {{ $resized_img := $img.Fit "1280x1280" }} -
-
- - - - {{ if $img.Title }} -
-

{{ $img.Title }}

-
- {{ end }} -
-
+
+ + + + {{ if $img.Title }} +
{{ $img.Title }}
+ {{ end }} +
diff --git a/layouts/shortcodes/figures/youtube.html b/layouts/shortcodes/figures/youtube.html index f86c106..43bdfc9 100644 --- a/layouts/shortcodes/figures/youtube.html +++ b/layouts/shortcodes/figures/youtube.html @@ -4,11 +4,9 @@ {{- $id := .Get "id" | default (.Get 0) -}} {{- $class := .Get "class" | default (.Get 1) -}} {{- $title := .Get "title" | default "YouTube Video" }} -
-
-
- -
-
-
+
+
+ +
+
{{ end -}}