Loading...
Started by Mike Thomas • Mar 17, 2025 5:34 PM
Total Replies
1
Participants
1
Activity
Quiet
Duration
5:34 PM
Thread starter
contact as a reference to a Contact variable a then cease caching a page?"Prerender": [
"This page currently CANNOT be prerendered. To improve your site speed and user experience, address the following issue(s):",
"- This page uses an uncachable value. ([value contact])"
]
{%- macro CREATE(args) -%}
...
{%- if args.contact.heading or args.contact.phone -%}
<div class="hidden xl:flex items-center gap-2">
{%- if args.contact.heading -%}
<span>{{ args.contact.heading }}</span>
{%- endif -%}
{%- if args.contact.phone -%}
<span class="phone flex items-center gap-2">
{{ ICON_LOADER.GET({ icon: "phone", classes: "h-[20px] w-[20px]" }) }}
{{ args.contact.phone }}
</span>
{%- endif -%}
</div>
{%- endif -%}