From e98aeaa41536ec7fe12e311de4ede1ef99124438 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 24 Oct 2023 15:51:03 -0700 Subject: [PATCH 1/2] Remove unused config --- static-site/data/SiteConfig.js | 1 - static-site/gatsby-config.js | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/static-site/data/SiteConfig.js b/static-site/data/SiteConfig.js index 762f8d27b..bdb300a5e 100644 --- a/static-site/data/SiteConfig.js +++ b/static-site/data/SiteConfig.js @@ -5,6 +5,5 @@ module.exports = { siteUrl: "https://nextstrain.org", pathPrefix: "/", siteDescription: "Real-time tracking of pathogen evolution", // Website description used for RSS feeds/meta description tag. - userName: "james hadfield", // Username to display in the author segment. progressBarColor: "#5097BA" }; diff --git a/static-site/gatsby-config.js b/static-site/gatsby-config.js index c375dc94f..ceb84e072 100644 --- a/static-site/gatsby-config.js +++ b/static-site/gatsby-config.js @@ -1,21 +1,7 @@ const config = require("./data/SiteConfig"); -// const pathPrefix = config.pathPrefix === "/" ? "" : config.pathPrefix; - module.exports = { pathPrefix: config.pathPrefix, - // siteMetadata: { - // siteUrl: config.siteUrl + pathPrefix, - // rssMetadata: { - // site_url: config.siteUrl + pathPrefix, - // feed_url: config.siteUrl + pathPrefix + config.siteRss, - // title: config.siteTitle, - // description: config.siteDescription, - // image_url: `${config.siteUrl + pathPrefix}/logos/logo-512.png`, - // author: config.userName, - // copyright: config.copyright - // } - // }, plugins: [ "gatsby-plugin-react-helmet", "gatsby-plugin-styled-components", From 2535fa957f7fc870b382cf9af99a3dc639d52e52 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:46:28 -0800 Subject: [PATCH 2/2] Remove empty Facebook meta tag --- static-site/src/components/SEO/SEO.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/static-site/src/components/SEO/SEO.jsx b/static-site/src/components/SEO/SEO.jsx index 03d2106a0..247f4e928 100644 --- a/static-site/src/components/SEO/SEO.jsx +++ b/static-site/src/components/SEO/SEO.jsx @@ -83,10 +83,6 @@ class SEO extends Component { - ); }