Skip to content
Snippets Groups Projects

Resolve "Error caused when placing date field under Preview Card/List component"

1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -162,8 +162,7 @@
{# Date field #}
{% if date | render %}
<div class="preview-card__date" style="color:{{variants.textcolor.color}}">
{{ date|format_date_field('custom', 'j F') }},
{{ date|format_date_field('custom', 'y') }}
{{ date }}
</div>
{% endif %}
</div>
Loading