From abbf0ddec98a1141975691b2d9c3b4cb0d774970 Mon Sep 17 00:00:00 2001 From: Lars Hoffbeck Date: Thu, 30 May 2024 11:49:01 -0400 Subject: [PATCH] Updates Dawn to use the new structured_data filter (#3380) * Updates Dawn to use the new filter * Add support for article structured data --- sections/main-article.liquid | 40 +++++---------------------------- sections/main-product.liquid | 43 +----------------------------------- 2 files changed, 6 insertions(+), 77 deletions(-) diff --git a/sections/main-article.liquid b/sections/main-article.liquid index cb61fe348a6..9f0208d149a 100644 --- a/sections/main-article.liquid +++ b/sections/main-article.liquid @@ -1,6 +1,6 @@ {{ 'section-blog-post.css' | asset_url | stylesheet_tag }} -
+
{%- for block in section.blocks -%} {%- case block.type -%} {%- when '@app' -%} @@ -15,7 +15,6 @@ >

{{ article.title | escape }}

{%- if block.settings.blog_show_date -%} - + {{- article.published_at | time_tag: format: 'date' -}} {%- endif -%} {%- if block.settings.blog_show_author -%} -
{% schema %} diff --git a/sections/main-product.liquid b/sections/main-product.liquid index 73c91d705f1..f591c7ad5b3 100644 --- a/sections/main-product.liquid +++ b/sections/main-product.liquid @@ -709,48 +709,7 @@ -%}