From 31395878a127a6dd474da50c2f93956588aa2135 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 31 May 2022 03:00:20 -0700 Subject: HTML5 Validation & Cleanup --- templates/shortcodes/audio.html | 2 +- templates/shortcodes/gif.html | 2 +- templates/shortcodes/image.html | 4 ++-- templates/shortcodes/img.html | 4 +--- templates/shortcodes/imghover.html | 2 +- templates/shortcodes/video.html | 2 +- templates/shortcodes/vm.html | 4 ++-- templates/shortcodes/yt.html | 4 ++-- 8 files changed, 11 insertions(+), 13 deletions(-) (limited to 'templates/shortcodes') diff --git a/templates/shortcodes/audio.html b/templates/shortcodes/audio.html index 3f9368e..2dbce68 100644 --- a/templates/shortcodes/audio.html +++ b/templates/shortcodes/audio.html @@ -1,7 +1,7 @@ diff --git a/templates/shortcodes/gif.html b/templates/shortcodes/gif.html index 3ae56fd..a49a879 100644 --- a/templates/shortcodes/gif.html +++ b/templates/shortcodes/gif.html @@ -1,7 +1,7 @@ diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html index 3653c8a..8452ce9 100644 --- a/templates/shortcodes/image.html +++ b/templates/shortcodes/image.html @@ -1,7 +1,7 @@ {% for source in sources -%} {% set type = source | split(pat=".") | last -%} - + {% endfor -%} - {{ falt | default(value='Image') }} + {{ falt | default(value='Image') }} diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index 46fb39d..4645569 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -1,5 +1,3 @@ -{# {{ img(src="ferris.svg" class="" alt="" w=600 h=400) }} #} - {%- set dirtest = src | trim_start_matches(pat="./") %} {%- if dirtest is containing("/") %} {%- set reldir = true %} @@ -20,4 +18,4 @@ {%- set img = src | split(pat="/") | last %} {%- set name = img | split(pat=".") | first %} - + diff --git a/templates/shortcodes/imghover.html b/templates/shortcodes/imghover.html index 4bda6da..b1af3f9 100644 --- a/templates/shortcodes/imghover.html +++ b/templates/shortcodes/imghover.html @@ -29,7 +29,7 @@ {%- set_global bg = source | split(pat="/") | last %} {%- else %}
{{ sourcename }} on hover
-
+
{%- endif %} {%- endfor %} diff --git a/templates/shortcodes/video.html b/templates/shortcodes/video.html index a1a2f31..c6bd867 100644 --- a/templates/shortcodes/video.html +++ b/templates/shortcodes/video.html @@ -1,7 +1,7 @@ diff --git a/templates/shortcodes/vm.html b/templates/shortcodes/vm.html index 9b593e8..f222682 100644 --- a/templates/shortcodes/vm.html +++ b/templates/shortcodes/vm.html @@ -1,3 +1,3 @@ -
- + +
diff --git a/templates/shortcodes/yt.html b/templates/shortcodes/yt.html index d865602..748f6ae 100644 --- a/templates/shortcodes/yt.html +++ b/templates/shortcodes/yt.html @@ -1,3 +1,3 @@ - - + + -- cgit v1.3.1