Remove support for documentation page banners #3
Some checks are pending
Publish / publish (push) Waiting to run

This commit is contained in:
david-swift 2025-04-01 15:08:26 +02:00
parent de1bf9cd21
commit 905af6f9bc
3 changed files with 1 additions and 7 deletions

View File

@ -143,7 +143,7 @@ Additionally, you can use the following front matter variables:
### Documentation Page Specific
All the options for blog posts are avilable for documentation pages as well.
All the options for blog posts are avilable for documentation pages as well, with the exception of banners.
Additionally, you can use the following front matter variables:

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

View File

@ -19,12 +19,6 @@ expand-main
{% include "partials/docs_toc.html" %}
<article>
{%- 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 -%}
<div id="heading">
<h1>{{ page.title }}</h1>