Remove support for documentation page banners #3
Some checks are pending
Publish / publish (push) Waiting to run
Some checks are pending
Publish / publish (push) Waiting to run
This commit is contained in:
parent
de1bf9cd21
commit
905af6f9bc
@ -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:
|
||||
|
||||
|
||||
BIN
content/docs/overview/banner.webp
Normal file
BIN
content/docs/overview/banner.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 285 KiB |
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user