You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set the site_name: '{{brand:website_title}}' , the output on the html page is working as expected. However, in the report it shows errro " A site name must be defined."
The reason for referencing to my fields is to support multiple locals.
Another related issue, also working fine on the output html. but does not work on report. if it try to set description: "{{ {excerpt ?? brand:main_description} | strip_tags | safe_truncate(156, '...') }}" , as I am expecting editors to fill in excerpt field but as a fallback at least show a global description insead of empty one.
regards,
The text was updated successfully, but these errors were encountered:
ali-awwad
changed the title
Antlers code working on page but not report
Antlers code working on html output page but not on reports
Apr 19, 2024
If I set the
site_name: '{{brand:website_title}}'
, the output on the html page is working as expected. However, in the report it shows errro " A site name must be defined."The reason for referencing to my fields is to support multiple locals.
Another related issue, also working fine on the output html. but does not work on report. if it try to set
description: "{{ {excerpt ?? brand:main_description} | strip_tags | safe_truncate(156, '...') }}"
, as I am expecting editors to fill in excerpt field but as a fallback at least show a global description insead of empty one.regards,
The text was updated successfully, but these errors were encountered: