diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-21 14:07:14 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-21 14:07:14 -0600 |
commit | f3340ae5f4ac6c60823bf4d14e1fcdbeaaec353c (patch) | |
tree | 41d7eda870083cfa0776d650478ceeb2baee2837 /static/src/_includes/image.html | |
parent | 55eb40d4bb489b2b26ab5d0ce2c70c7cb2f766b7 (diff) |
Remove old code related to static, it's not needed anymore
Diffstat (limited to 'static/src/_includes/image.html')
-rw-r--r-- | static/src/_includes/image.html | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/static/src/_includes/image.html b/static/src/_includes/image.html deleted file mode 100644 index 8875050..0000000 --- a/static/src/_includes/image.html +++ /dev/null @@ -1,43 +0,0 @@ -<div style=" - box-sizing: border-box; - text-align: center; - padding-left: 2em; - padding-right: 2em; - margin-bottom: 1em; - {%- if include.float %} - float: {{ include.float }}; - {% endif -%} - {%- if include.float or include.inline %} - max-width: 49%; - {% endif -%} - {%- if include.inline %} - display: inline-block; - {% endif -%} - "> - <a href="/img/{{ include.dir }}/{{ include.file }}" target="_blank"> - <picture> - {%- if include.width %} - {%- for targetWidth in site.img_widths reversed -%} - {% if include.width <= targetWidth %}{% continue %}{% endif %} - {%- if targetWidth > 1000 %} - <source media="(min-width: 1000px) and (min-resolution: {{ targetWidth | divided_by: 1000.0 }}dppx)" - {%- elsif targetWidth > 500 %} - <source media="(min-width: 500px), (min-resolution: 1.1dppx)" - {%- else %} - <source - {% endif %} - srcset="/img/{{ include.dir }}/{{ targetWidth }}px/{{ include.file }}" - > - {%- endfor %} - {%- endif %} - <img style="max-height: 60vh;" - {% if include.width < 1000 %} - src="/img/{{ include.dir }}/{{ include.file }}" - {% else %} - src="/img/{{ include.dir }}/1000px/{{ include.file }}" - {% endif %} - alt="{{ include.descr }}" /> - </picture> - </a> - {%- if include.descr %}<br/><em>{{ include.descr }}</em>{%- endif %} -</div> |