fix broken post layout (WIP) by changing to njk for now
This commit is contained in:
parent
ca43605a96
commit
34e34852fa
1 changed files with 6 additions and 9 deletions
|
|
@ -17,17 +17,14 @@ gallery:
|
|||
caption: 'A large blue (Phengaris arion)'
|
||||
---
|
||||
|
||||
Gallery popups usting the `<dialog>` element:
|
||||
<p>Gallery popups using the <code>dialog</code> element:</p>
|
||||
|
||||
{% include "components/gallery.njk" %}
|
||||
|
||||
Loop through images without additional interactivity:
|
||||
<p>Loop through images without additional interactivity:</p>
|
||||
|
||||
<ul class="gallery"
|
||||
role="list" style="padding: 0;">
|
||||
{%- for item in gallery -%}
|
||||
<li>
|
||||
{% eleventyImage item.image, item.alt %}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
<ul class="gallery" role="list" style="padding: 0;">
|
||||
{%- for item in gallery -%}
|
||||
<li>{% eleventyImage item.image, item.alt %}</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
Loading…
Reference in a new issue