| safe filters apply automatically inside macros."}
] %}
{# gallery_images - all path strings, no raw img tags (img tags break data-overlay-src) #}
{% set gallery_images = [
{"src": "/apep-static/images/examples/unsplash1.svg", "alt": "Nature 1", "caption": "Caption for image 1"},
{"src": "/apep-static/images/examples/unsplash2.svg", "alt": "Nature 2", "caption": "Caption for image 2"},
{"src": "/apep-static/images/examples/unsplash3.svg", "alt": "Nature 3"},
{"src": "/apep-static/images/examples/unsplash4.svg", "alt": "Nature 4", "caption": "Caption for image 4"},
{"src": "/apep-static/images/examples/unsplash5.svg", "alt": "Nature 5"},
{"src": "/apep-static/images/examples/unsplash6.svg", "alt": "Nature 6", "caption": "Caption for image 6"},
{"src": "/apep-static/images/examples/unsplash7.svg", "alt": "Nature 7"},
{"src": "/apep-static/images/examples/unsplash8.svg", "alt": "Nature 8", "caption": "Caption for image 8"},
{"src": "/apep-static/images/examples/unsplash9.svg", "alt": "Nature 9"}
] %}
{% set scroller_items = [
{"src": "/apep-static/images/examples/unsplash2.svg", "alt": "Nature 2", "label": "Photo Two"},
{"src": "/apep-static/images/examples/unsplash5.svg", "alt": "Nature 5", "label": "Photo Five"},
{"src": "/apep-static/images/examples/unsplash8.svg", "alt": "Nature 8", "label": "Photo Eight"},
{"src": "/apep-static/images/examples/unsplash3.svg", "alt": "Nature 3", "label": "Photo Three"},
{"src": "/apep-static/images/examples/unsplash6.svg", "alt": "Nature 6", "label": "Photo Six"}
] %}
{% set scroller_items_overlay = [
{"src": "/apep-static/images/examples/unsplash1.svg", "alt": "Nature 1", "label": "Click to expand", "overlay": true},
{"src": "/apep-static/images/examples/unsplash4.svg", "alt": "Nature 4", "label": "Click to expand", "overlay": true},
{"src": "/apep-static/images/examples/unsplash7.svg", "alt": "Nature 7", "label": "Click to expand", "overlay": true},
{"src": "/apep-static/images/examples/unsplash9.svg", "alt": "Nature 9", "label": "Click to expand", "overlay": true}
] %}
{% set scroller_items_dl = [
{"src": "/apep-static/images/examples/unsplash2.svg", "alt": "Nature 2", "label": "Photo Two", "downloadable": true},
{"src": "/apep-static/images/examples/unsplash5.svg", "alt": "Nature 5", "label": "Photo Five", "downloadable": true},
{"src": "/apep-static/images/examples/unsplash8.svg", "alt": "Nature 8", "label": "Photo Eight", "downloadable": true}
] %}
Default text block with some formatted content and a border.
", max_width="600px", variant="default") }} {{ apep.macros.text_block(text="Plain variant - no border, no background, but scrollable.
", max_width="600px", variant="plain") }} {{ apep.macros.text_block(text="Vertical scroll. Item 1.
Item 2.
Item 3.
Item 4.
Item 5.
", max_height="80px", scroll="vertical") }} {{ apep.macros.text_block(text="Horizontal scroll - long content that does not wrap and scrolls sideways instead of wrapping to a new line.
", scroll="horizontal") }}Default variant with title and body.
", variant="default") }}Centered variant, text and title aligned.
", variant="centered") }}Highlight variant with accent left border.
", variant="highlight") }}Single with date
{{ apep.macros.review_card(text=review_single.text, author=review_single.author, role=review_single.role, rating=review_single.rating, date=review_single.date) }}Expandable
{{ apep.macros.review_card(text="This is a very long review text that will overflow the card and trigger the expand button. It keeps going to demonstrate the expand/collapse feature properly. Even more text here to make sure it actually overflows the max-height of the card body.", author="Long Reviewer", rating=4, expandable=true, expand_text="Read more", collapse_text="Show less") }}Default
{{ apep.macros.image(src="/apep-static/images/examples/unsplash1.svg", alt="Nature 1", width="200px") }}Not Protected image(right-click)
{{ apep.macros.image(src="/apep-static/images/examples/unsplash2.svg", alt="Nature 2", width="200px", protected=false) }}Downloadable
{{ apep.macros.image(src="/apep-static/images/examples/unsplash3.svg", alt="Nature 3", width="200px", downloadable=true) }}With Link
{{ apep.macros.image(src="/apep-static/images/examples/unsplash9.svg", alt="Nature 9", width="200px", url="https://unsplash.com") }}Default
{{ apep.macros.image(src=logos.logo1, alt="Icon 1", width="80px", height="80px") }}Protected & Downloadable
{{ apep.macros.image(src=logos.logo2, alt="Icon 2", width="80px", height="80px", protected=true, downloadable=true) }}Linked
{{ apep.macros.image(src=logos.logo3, alt="Icon 3", width="80px", height="80px", url="https://heroicons.com") }}Click any image to open fullscreen overlay.
Default - drag to scroll
{{ apep.macros.sidescroller(items=scroller_items) }}With Overlay - click to expand
{{ apep.macros.sidescroller(items=scroller_items_overlay) }}Protected & Downloadable
{{ apep.macros.sidescroller(items=scroller_items_dl) }}