diff --git a/.vscode/settings.json b/.vscode/settings.json index f4e7062..849cf97 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,8 @@ { "languageStylus.useSeparator": false, "editor.formatOnSave": true, - "css.validate": false, + "css.validate": false, // don't recall how the css is configured w/ tailwind, but it doesn't follow typical syntax + // "postcss.validate": false, "commentAnchors.tags.list": [ { "tag": "ANCHOR", @@ -59,6 +60,6 @@ "scope": "workspace", "behavior": "link" } - ] // don't recall how the css is configured w/ tailwind, but it doesn't follow typical syntax - // "postcss.validate": false + ], + "cSpell.words": ["bbcec", "copays", "elasticlunr", "icer", "WPCOM"] } diff --git a/gatsby-config.js b/gatsby-config.js index 4d7381d..3335774 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -105,8 +105,7 @@ module.exports = { normalizers: normalizers => [ ...normalizers, { - // Normalizes the link format, so Gatsby doesn't drop - // one type (link___NODE or external url string) + // ? Normalizes the link format, so it's not left up to (unpredictable) Gatsby type inference (link___NODE or external url string) name: `AcfLinkNormalizer`, normalizer: ({ entities }) => { console.log(`Normalizing links...`) @@ -124,7 +123,8 @@ module.exports = { e.__type === `wordpress__wp_annual_reports` || e.__type === `wordpress__wp_events` || e.__type === `wordpress__wp_covid_19s` || - e.__type === `wordpress__wp_icer_resources` + e.__type === `wordpress__wp_icer_resources` || + e.__type === `wordpress__wp_sliders` ) { // if the link is being treated as a node, then find and return the actual url if (e.acf.link___NODE)