Skip to content

Commit

Permalink
fix steps canonical
Browse files Browse the repository at this point in the history
  • Loading branch information
aorcsik committed Aug 4, 2023
1 parent b0a4de0 commit 2081469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ IntegrationsService.loadIntegrations().then(integrations => {
const step = integrations.steps[stepFilter];

document.title = `${step.title} | Bitrise Integration Steps`;
document.querySelector("link[rel='canonical']").setAttribute("href", "https://bitrise.io/integrations/steps/" + step.key);
setMetaContent({name: "description"}, step.summary.replace(/\s+/g, " "));
setMetaContent({property: "og:title"}, `${step.title} | Bitrise Integration Steps`);
setMetaContent({property: "og:description"}, step.summary.replace(/\s+/g, " "));
Expand Down

0 comments on commit 2081469

Please sign in to comment.