{#- An
that uses the WebP previews from tools/docs_thumbnails.py when they
match the source image, and the full-size image otherwise. -#}
{% macro preview(image, sizes, attrs='') -%}
{%- set thumb = docs_thumbs.get(image) -%}
{%- if thumb -%}
{%- else -%}
{%- endif -%}
{%- endmacro %}