aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/image.html
diff options
context:
space:
mode:
authorJieiku2022-05-31 03:00:20 -0700
committerJieiku2022-05-31 03:00:20 -0700
commit31395878a127a6dd474da50c2f93956588aa2135 (patch)
tree0122eb9d2d085ceb87016e3c50912d70462f9f87 /templates/shortcodes/image.html
parent04631b1f651fd677baf837be318084b91cb9acf4 (diff)
downloadabridge-31395878a127a6dd474da50c2f93956588aa2135.tar.gz
abridge-31395878a127a6dd474da50c2f93956588aa2135.tar.bz2
abridge-31395878a127a6dd474da50c2f93956588aa2135.zip
HTML5 Validation & Cleanup
Diffstat (limited to 'templates/shortcodes/image.html')
-rw-r--r--templates/shortcodes/image.html4
1 files changed, 2 insertions, 2 deletions
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 @@
<picture>
{% for source in sources -%}
{% set type = source | split(pat=".") | last -%}
- <source srcset="{{ config.base_url | safe}}{{ page.path | safe }}{{ source | safe }}" type="{{ 'img/' ~ type }}">
+ <source srcset="{{ config.base_url | safe}}{{ page.path | safe }}{{ source | safe }}" type="{{ 'img/' ~ type }}" />
{% endfor -%}
- <img src="{{ fpath }}" alt="{{ falt | default(value='Image') }}" {% if fw %}width="{{fw}}" {% endif %}{% if fh %}height="{{fh}}" {% endif %}/>
+ <img src="{{ fpath }}" alt="{{ falt | default(value='Image') }}"{% if fw %} width="{{fw}}"{% endif %}{% if fh %} height="{{fh}}"{% endif %} />
</picture>