From 34fe1afa4057363f868300e75ce6632abfdf7680 Mon Sep 17 00:00:00 2001 From: sacr3dc0w Date: Tue, 22 Feb 2022 08:39:21 -0800 Subject: [PATCH] Update blog component to use H1 tags on posts --- CHANGELOG.md | 1 + templates/components/blog/post.html | 4 ++-- templates/pages/blog-post.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0152dff0c..e204b0e384 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Update blog component to use H1 tags on posts [#2179](https://github.com/bigcommerce/cornerstone/issues/2179) - Remove Compare Form. [#2162](https://github.com/bigcommerce/cornerstone/pull/2162) - Fixed password complexity error not displaying the complexity rules set in the store settings [#2117](https://github.com/bigcommerce/cornerstone/pull/2117) - Translation updates February 2022. [#2177](https://github.com/bigcommerce/cornerstone/pull/2177) diff --git a/templates/components/blog/post.html b/templates/components/blog/post.html index 885e5925a5..7ed0e75abb 100644 --- a/templates/components/blog/post.html +++ b/templates/components/blog/post.html @@ -15,9 +15,9 @@
-

+ {{post.title}} -

+

{{#if post.author}}{{lang 'blog.posted_by' name=post.author}} on {{/if}}{{post.date_published}}

diff --git a/templates/pages/blog-post.html b/templates/pages/blog-post.html index 501896a831..dfa531b68c 100644 --- a/templates/pages/blog-post.html +++ b/templates/pages/blog-post.html @@ -2,7 +2,7 @@ {{> components/common/breadcrumbs breadcrumbs=breadcrumbs}} -{{> components/blog/post post=blog.post show_tags=true}} +{{> components/blog/post post=blog.post show_tags=true is_blog_post=true}} {{/partial}} {{> layout/base}}