From a9496eef569c8c12a2a5cb2bb063559b29d5df1e Mon Sep 17 00:00:00 2001 From: Katy Cobb Date: Fri, 20 Dec 2024 12:26:06 -0800 Subject: [PATCH] Blog posts --- locales/en.default.schema.json | 37 ++++++++++------------------------ sections/main-article.liquid | 11 +--------- sections/main-blog.liquid | 14 ++----------- 3 files changed, 14 insertions(+), 48 deletions(-) diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index 6b48050f20d..bad031f65bc 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -1686,7 +1686,7 @@ "name": "Featured image", "settings": { "image_height": { - "label": "Featured image height", + "label": "Image height", "options__1": { "label": "Adapt to image" }, @@ -1698,8 +1698,7 @@ }, "options__4": { "label": "Large" - }, - "info": "For best results, use an image with a 16:9 aspect ratio. [Learn more](https://help.shopify.com/manual/shopify-admin/productivity-tools/image-editor#understanding-image-aspect-ratio)" + } } } }, @@ -1707,10 +1706,10 @@ "name": "Title", "settings": { "blog_show_date": { - "label": "Show date" + "label": "Date" }, "blog_show_author": { - "label": "Show author" + "label": "Author" } } }, @@ -1723,12 +1722,6 @@ "text": { "label": "Text", "default": "Share" - }, - "featured_image_info": { - "content": "If you include a link in social media posts, the page’s featured image will be shown as the preview image. [Learn more](https://help.shopify.com/manual/online-store/images/showing-social-media-thumbnail-images)." - }, - "title_info": { - "content": "A store title and description are included with the preview image. [Learn more](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords#set-a-title-and-description-for-your-online-store)." } } } @@ -1737,33 +1730,26 @@ "main-blog": { "name": "Blog posts", "settings": { - "header": { - "content": "Blog post card" - }, "show_image": { - "label": "Show featured image" + "label": "Featured image" }, "show_date": { - "label": "Show date" + "label": "Date" }, "show_author": { - "label": "Show author" - }, - "paragraph": { - "content": "Change excerpts by editing your blog posts. [Learn more](https://help.shopify.com/manual/online-store/blogs/writing-blogs#display-an-excerpt-from-a-blog-post)" + "label": "Author" }, "layout": { - "label": "Desktop layout", + "label": "Layout", "options__1": { "label": "Grid" }, "options__2": { "label": "Collage" - }, - "info": "Posts are stacked on mobile." + } }, "image_height": { - "label": "Featured image height", + "label": "Image height", "options__1": { "label": "Adapt to image" }, @@ -1775,8 +1761,7 @@ }, "options__4": { "label": "Large" - }, - "info": "For best results, use an image with a 3:2 aspect ratio. [Learn more](https://help.shopify.com/manual/shopify-admin/productivity-tools/image-editor#understanding-image-aspect-ratio)" + } } } }, diff --git a/sections/main-article.liquid b/sections/main-article.liquid index 2f4f8490597..936ed9f1631 100644 --- a/sections/main-article.liquid +++ b/sections/main-article.liquid @@ -328,8 +328,7 @@ } ], "default": "adapt", - "label": "t:sections.main-article.blocks.featured_image.settings.image_height.label", - "info": "t:sections.main-article.blocks.featured_image.settings.image_height.info" + "label": "t:sections.main-article.blocks.featured_image.settings.image_height.label" } ] }, @@ -367,14 +366,6 @@ "id": "share_label", "label": "t:sections.main-article.blocks.share.settings.text.label", "default": "t:sections.main-article.blocks.share.settings.text.default" - }, - { - "type": "paragraph", - "content": "t:sections.main-article.blocks.share.settings.featured_image_info.content" - }, - { - "type": "paragraph", - "content": "t:sections.main-article.blocks.share.settings.title_info.content" } ] } diff --git a/sections/main-blog.liquid b/sections/main-blog.liquid index 6a89251ca7c..adc207dcf6f 100644 --- a/sections/main-blog.liquid +++ b/sections/main-blog.liquid @@ -56,10 +56,6 @@ "tag": "section", "class": "section", "settings": [ - { - "type": "header", - "content": "t:sections.main-blog.settings.header.content" - }, { "type": "select", "id": "layout", @@ -74,8 +70,7 @@ } ], "default": "collage", - "label": "t:sections.main-blog.settings.layout.label", - "info": "t:sections.main-blog.settings.layout.info" + "label": "t:sections.main-blog.settings.layout.label" }, { "type": "checkbox", @@ -105,8 +100,7 @@ } ], "default": "medium", - "label": "t:sections.main-blog.settings.image_height.label", - "info": "t:sections.main-blog.settings.image_height.info" + "label": "t:sections.main-blog.settings.image_height.label" }, { "type": "checkbox", @@ -120,10 +114,6 @@ "default": false, "label": "t:sections.main-blog.settings.show_author.label" }, - { - "type": "paragraph", - "content": "t:sections.main-blog.settings.paragraph.content" - }, { "type": "header", "content": "t:sections.all.padding.section_padding_heading"