Skip to content

Commit

Permalink
fix(storefront): BCTHEME-1014 Blog Pages Do Not Include Link Rel Next…
Browse files Browse the repository at this point in the history
…/Prev Tags (#2214)
  • Loading branch information
bc-vlad-dlogush authored Jun 15, 2022
1 parent 9ed3907 commit 9a2d815
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- Blog Pages Do Not Include Link Rel Next/Prev Tags. [#2214](https://github.com/bigcommerce/cornerstone/issues/2214).
- Add lang attribute to html tag to improve checkout accesibility [#2210]https://github.com/bigcommerce/cornerstone/pull/2210

## Unreleased (unreleased)
Expand Down
9 changes: 9 additions & 0 deletions templates/pages/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
pages: 3
summary: 200
---
{{#partial "head"}}
{{#if pagination.blog.previous}}
<link rel="prev" href="{{pagination.blog.previous}}">
{{/if}}
{{#if pagination.blog.next}}
<link rel="next" href="{{pagination.blog.next}}">
{{/if}}
{{/partial}}

{{#partial "page"}}

{{> components/common/breadcrumbs breadcrumbs=breadcrumbs}}
Expand Down

0 comments on commit 9a2d815

Please sign in to comment.