Skip to content

Commit

Permalink
Merge pull request #750: static-site config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Nov 13, 2023
2 parents 1e344a4 + 2535fa9 commit fe8702f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion static-site/data/SiteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};
14 changes: 0 additions & 14 deletions static-site/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 0 additions & 4 deletions static-site/src/components/SEO/SEO.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ class SEO extends Component {
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />
<meta
property="fb:app_id"
content={config.siteFBAppID ? config.siteFBAppID : ""}
/>
</Helmet>
);
}
Expand Down

0 comments on commit fe8702f

Please sign in to comment.