diff --git a/src/auto_archiver/formatters/templates/macros.html b/src/auto_archiver/formatters/templates/macros.html index c2281c2..c187f8c 100644 --- a/src/auto_archiver/formatters/templates/macros.html +++ b/src/auto_archiver/formatters/templates/macros.html @@ -3,7 +3,7 @@ {% for url in m.urls %} {% if url | length == 0 %} No URL available for {{ m.key }}. -{% elif 'http' in url %} +{% elif 'http://' in url or 'https://' in url or url.startswith('/') %} {% if 'image' in m.mimetype %}