Skip to content

Commit

Permalink
fix: test gatsby catch links disabled (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz committed May 23, 2023
1 parent 6c5bd08 commit 49a871a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 6 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ module.exports = {
},
},
'gatsby-plugin-image',
'gatsby-plugin-catch-links',
{
resolve: `gatsby-plugin-catch-links`,
options: {
excludePattern: /^\/con/,
},
},
'gatsby-plugin-sitemap',
'gatsby-plugin-twitter',
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/PreheaderCon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Button from './common/Button';

const PreheaderCon: React.ComponentType = () => {
return (
<a href="/con/2023?y=2023" rel="noreferrer">
<a href="/con/2023" rel="noreferrer">
<div className="preheader preheader-con" role="button">
<Web className="preheader-con__web con__web" isVisible />
<img src={Logo} alt="Api Platform Conference" height="40" />
Expand Down
3 changes: 0 additions & 3 deletions src/pages/con/2023/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ const Conf2023: React.ComponentType = () => {
<title>{`${TITLE}: meet the best API experts!`}</title>
<meta property="og:title" content={`${TITLE}: meet the best API experts!`} />
<meta name="twitter:title" content={`${TITLE}: meet the best API experts!`} />
<meta httpEquiv="Cache-Control" content="no-store, must-revalidate" />,
<meta httpEquiv="Pragma" content="no-cache" />,
<meta httpEquiv="Expires" content="0" />
</Helmet>
<Cover
date="September 21 - 22, 2023 | Lille & online"
Expand Down

0 comments on commit 49a871a

Please sign in to comment.