Skip to content

Commit

Permalink
Merge pull request #1767 from gustavomm19/fix-canonical
Browse files Browse the repository at this point in the history
Fix canonical
  • Loading branch information
alesanchezr authored Sep 26, 2023
2 parents d25bf40 + bde92e1 commit 3676282
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ const createBlog = async ({ actions, graphql }) => {
clusters[lang].forEach((cluster) => {
let file_name = `clusters.${lang}`;
let type = "page";
let path = `/${lang}/${langSwitcher[lang]}/${cluster}/`;
let path = `/${lang}/${langSwitcher[lang]}/${cluster}`;
createPage({
path,
component: clusterTemplate,
Expand Down
8 changes: 7 additions & 1 deletion src/templates/clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,16 @@ const Tags = ({ pageContext, data, yml }) => {
padding_tablet="70px 0 0 0"
gridColumn_tablet="1 / 7"
>
<H1 textAlign_tablet="left" margin="0 0 11px 0" color="#606060">
<H1
type="h1"
textAlign_tablet="left"
margin="0 0 11px 0"
color="#606060"
>
{cluster?.seo_title || yml.seo_title}
</H1>
<H2
type="h2"
textAlign_tablet="left"
fontSize="50px"
lineHeight="60px"
Expand Down

0 comments on commit 3676282

Please sign in to comment.