From 32584e26ceb51d6c37e40456bbc569d466a1456f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 10 Aug 2023 10:49:09 -0400 Subject: [PATCH] Remove invalid HTML, CSS in some shortcodes --- themes/red/layouts/shortcodes/guestbook.html | 4 ++-- themes/red/layouts/shortcodes/stoot.html | 15 --------------- themes/red/layouts/shortcodes/tube.html | 2 +- themes/red/layouts/shortcodes/video.html | 2 +- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/themes/red/layouts/shortcodes/guestbook.html b/themes/red/layouts/shortcodes/guestbook.html index 300443d..22f314d 100644 --- a/themes/red/layouts/shortcodes/guestbook.html +++ b/themes/red/layouts/shortcodes/guestbook.html @@ -6,9 +6,9 @@ data-isso-vote="false" src="//{{ $.Site.Params.isso_url }}/js/embed.min.js" crossorigin async> -
+
-
+ {{ else }} Guestbook is disabled in development mode. {{ end }} diff --git a/themes/red/layouts/shortcodes/stoot.html b/themes/red/layouts/shortcodes/stoot.html index f74b5b5..4bcc74c 100644 --- a/themes/red/layouts/shortcodes/stoot.html +++ b/themes/red/layouts/shortcodes/stoot.html @@ -51,11 +51,6 @@ {{ range $media_attachments := . }} {{ if eq $media_attachments.type "image" }} {{ $mediaMD5 = md5 $media_attachments.url }} - Image {{ $media_attachments.id }} from toot {{ $id }} on {{ $masIns }} - .img-{{ $mediaMD5 }} { - aspect-ratio: {{ $media_attachments.meta.original.width }} / {{ $media_attachments.meta.original.height }}; - } -