aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/image.html
diff options
context:
space:
mode:
authorJieiku2022-05-31 02:09:53 -0700
committerJieiku2022-05-31 02:09:53 -0700
commit103ff01d0ece0f3c0112b48015750300d907d8fa (patch)
tree7cec3a018042c6795af96903f91322779d295491 /templates/shortcodes/image.html
parentec161233068f6f634d81e07de94f64d7fcedc951 (diff)
downloadabridge-103ff01d0ece0f3c0112b48015750300d907d8fa.tar.gz
abridge-103ff01d0ece0f3c0112b48015750300d907d8fa.tar.bz2
abridge-103ff01d0ece0f3c0112b48015750300d907d8fa.zip
Improve Shortcodes, example content, page scores, fonts
Diffstat (limited to 'templates/shortcodes/image.html')
-rw-r--r--templates/shortcodes/image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html
index ea236ef..3653c8a 100644
--- a/templates/shortcodes/image.html
+++ b/templates/shortcodes/image.html
@@ -3,5 +3,5 @@
{% set type = source | split(pat=".") | last -%}
<source srcset="{{ config.base_url | safe}}{{ page.path | safe }}{{ source | safe }}" type="{{ 'img/' ~ type }}">
{% endfor -%}
- <img src="{{ fallback_path }}" alt="{{ fallback_alt }}"/>
+ <img src="{{ fpath }}" alt="{{ falt | default(value='Image') }}" {% if fw %}width="{{fw}}" {% endif %}{% if fh %}height="{{fh}}" {% endif %}/>
</picture>