diff --git a/gatsby-node.js b/gatsby-node.js index a944273c66e..dc00de62dd4 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -66,4 +66,9 @@ exports.createPages = ({ actions }) => { toPath: '/developing/vue-tutorial/overview', isPermanent: true, }); + createRedirect({ + fromPath: '/guidelines/typography/styling-strategies', + toPath: '/guidelines/typography/style-strategies', + isPermanent: true, + }); }; diff --git a/gatsby-ssr.js b/gatsby-ssr.js index 56487e5547d..a2c3e568e40 100644 --- a/gatsby-ssr.js +++ b/gatsby-ssr.js @@ -1,6 +1,6 @@ import React from 'react'; -export const onRenderBody = ({ setHeadComponents }) => { +export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => { const script = ` if(!window) window = {}; window.idaPageIsSPA = true; @@ -20,7 +20,7 @@ export const onRenderBody = ({ setHeadComponents }) => { }, }`; - return setHeadComponents([ + setHeadComponents([ , { key="fathom" defer />, + ]); + + setPostBodyComponents([