david-swift 294a6683b5
Some checks are pending
Publish / publish (push) Waiting to run
Improve structure in HTML templates
2025-04-11 17:54:23 +02:00

6 lines
300 B
HTML

{%- if page.extra.banner -%}
<div id="banner-container">
<img id="banner" class="full-bleed{% if page.extra.banner_pixels %} pixels{% endif %}" src="{{ current_url ~ page.extra.banner }}" {% if config.markdown.lazy_async_image %}decoding="async" loading="lazy"{% endif %} />
</div>
{%- endif -%}