Fix full_bleed shortcode variable

Oh and nicer duck pics
This commit is contained in:
daudix
2024-08-12 18:05:01 +03:00
parent 0631f8d8f5
commit bdf5f3213c
3 changed files with 9 additions and 4 deletions

View File

@ -54,7 +54,7 @@ Long, single-line code blocks should not wrap. They should horizontally scroll i
- [ ] Coffee - [ ] Coffee
- [x] Combustible lemons - [x] Combustible lemons
![Indian Runner Ducks](https://upload.wikimedia.org/wikipedia/commons/1/14/COLLECTIE_TROPENMUSEUM_Eenden_in_een_sawa_TMnr_60032098_%28cropped%29.jpg) ![Male mallard duck](https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Male_mallard_duck_2.jpg/800px-Male_mallard_duck_2.jpg)
| Mare | Rating | Additional info | | Mare | Rating | Additional info |
| :----------- | :---------------- | :--------------- | | :----------- | :---------------- | :--------------- |
@ -195,6 +195,11 @@ For videos it's all the same except for a few differences: `no_hover` and `url_m
<figcaption>WebM video example from MDN</figcaption> <figcaption>WebM video example from MDN</figcaption>
</figure> </figure>
<figure>
{{ video(url="https://upload.wikimedia.org/wikipedia/commons/transcoded/0/0e/Duckling_preening_%2881313%29.webm/Duckling_preening_%2881313%29.webm.720p.vp9.webm", alt="Duckling preening", full_bleed=true) }}
<figcaption>Duckling preening</figcaption>
</figure>
#### CRT #### CRT
Alright, this one doesn't simplify anything, it just adds a CRT-like effect around Markdown code blocks. Alright, this one doesn't simplify anything, it just adds a CRT-like effect around Markdown code blocks.

View File

@ -2,7 +2,7 @@
<a href="{{ url }}"> <a href="{{ url }}">
<img class=" <img class="
{% if full %}full{% endif %} {% if full %}full{% endif %}
{% if full_bleed %}full_bleed{% endif %} {% if full_bleed %}full-bleed{% endif %}
{% if start %}start{% endif %} {% if start %}start{% endif %}
{% if end %}end{% endif %} {% if end %}end{% endif %}
{% if pixels %}pixels{% endif %} {% if pixels %}pixels{% endif %}
@ -17,7 +17,7 @@
{%- else -%} {%- else -%}
<img class=" <img class="
{% if full %}full{% endif %} {% if full %}full{% endif %}
{% if full_bleed %}full_bleed{% endif %} {% if full_bleed %}full-bleed{% endif %}
{% if start %}start{% endif %} {% if start %}start{% endif %}
{% if end %}end{% endif %} {% if end %}end{% endif %}
{% if pixels %}pixels{% endif %} {% if pixels %}pixels{% endif %}

View File

@ -1,6 +1,6 @@
<video class=" <video class="
{% if full %}full{% endif %} {% if full %}full{% endif %}
{% if full_bleed %}full_bleed{% endif %} {% if full_bleed %}full-bleed{% endif %}
{% if start %}start{% endif %} {% if start %}start{% endif %}
{% if end %}end{% endif %} {% if end %}end{% endif %}
{% if pixels %}pixels{% endif %} {% if pixels %}pixels{% endif %}