Skip to content

Commit ffd324f

Browse files
committed
remove webmentions
1 parent d3e14c4 commit ffd324f

File tree

9 files changed

+6
-20
lines changed

9 files changed

+6
-20
lines changed

blog/src/templates/blog-post.js

-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { withStyles } from '@material-ui/core/styles'
2626
import TableContainer from '@material-ui/core/TableContainer'
2727
import CodeBlock from 'gatsby-theme-rpsych/src/components/code/code-block'
2828
import License from '../License'
29-
import Webmentions from 'gatsby-theme-rpsych/src/components/Webmentions'
3029
import ArchivedComments from 'gatsby-theme-rpsych/src/components/ArchivedComments'
3130
import BuyMeACoffee from 'gatsby-theme-rpsych-viz/src/components/BuyMeACoffee'
3231
import GitHubSponsors from 'gatsby-theme-rpsych-viz/src/components/GitHubSponsors'
@@ -361,7 +360,6 @@ const BlogPostTemplate = ({ data, pageContext, location }) => {
361360
</Link>{' '}
362361
if you've found a bug or wan't to make a feature request.
363362
</Typography>
364-
<Webmentions data={data} />
365363
{comments.length > 0 && (
366364
<ArchivedComments comments={comments} />
367365
)}
@@ -462,6 +460,5 @@ export const pageQuery = graphql`
462460
createdAt
463461
}
464462
}
465-
...webmentionQuery
466463
}
467464
`

blog/src/templates/index.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import Powerlmm from 'gatsby-theme-rpsych/src/components/start/Powerlmm'
1212
import InternalLink from 'gatsby-theme-rpsych/src/utils/InternalLink'
1313
import { makeStyles } from '@material-ui/core'
1414
import License from '../License'
15-
import Webmentions from 'gatsby-theme-rpsych/src/components/Webmentions'
1615
import BuyMeACoffee from 'gatsby-theme-rpsych-viz/src/components/BuyMeACoffee'
1716
import GitHubSponsors from 'gatsby-theme-rpsych-viz/src/components/GitHubSponsors'
1817

@@ -166,7 +165,6 @@ const BlogIndex = props => {
166165
Buy Me A Coffee
167166
</Typography>
168167
<BuyMeACoffee />
169-
<Webmentions data={data} />
170168
</Container>
171169
</Layout>
172170
)
@@ -175,7 +173,7 @@ const BlogIndex = props => {
175173
export default BlogIndex
176174

177175
export const pageQuery = graphql`
178-
query($skip: Int!, $limit: Int!, $permalinkRegEx: String) {
176+
query($skip: Int!, $limit: Int!) {
179177
site {
180178
siteMetadata {
181179
title
@@ -200,6 +198,5 @@ export const pageQuery = graphql`
200198
}
201199
}
202200
}
203-
...webmentionQuery
204201
}
205202
`

gatsby-theme-rpsych-cohend/src/pages/cohend.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default (props) => {
1818
};
1919

2020
export const pageQuery = graphql`
21-
query cohend($locale: String!, $permalinkRegEx: String) {
21+
query cohend($locale: String!) {
2222
FAQ: allMdx(
2323
filter: { fileAbsolutePath: { regex: "/cohend/FAQ/" }, fields: {locale: {eq: $locale }} }
2424
sort: { fields: frontmatter___order, order: ASC }
@@ -73,6 +73,5 @@ export const pageQuery = graphql`
7373
}
7474
}
7575
}
76-
...webmentionQuery
7776
}
7877
`;

gatsby-theme-rpsych-correlation/src/pages/correlation.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default (props) => {
77
};
88

99
export const pageQuery = graphql`
10-
query correlation($permalinkRegEx: String) {
10+
query correlation {
1111
FAQ: allMdx(
1212
filter: { fileAbsolutePath: { regex: "/correlation/FAQ/" } }
1313
sort: { fields: frontmatter___order, order: ASC }
@@ -34,6 +34,5 @@ export const pageQuery = graphql`
3434
}
3535
}
3636
}
37-
...webmentionQuery
3837
}
3938
`;

gatsby-theme-rpsych-likelihood/src/pages/likelihood.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default (props) => {
77
};
88

99
export const pageQuery = graphql`
10-
query likelihood($permalinkRegEx: String) {
10+
query likelihood {
1111
FAQ: allMdx(
1212
filter: { fileAbsolutePath: { regex: "/likelihood/FAQ/" } }
1313
sort: { fields: frontmatter___order, order: ASC }
@@ -34,6 +34,5 @@ export const pageQuery = graphql`
3434
}
3535
}
3636
}
37-
...webmentionQuery
3837
}
3938
`;

gatsby-theme-rpsych-pvalue/src/pages/pvalue.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default (props) => {
1818
};
1919

2020
export const pageQuery = graphql`
21-
query pvalue($permalinkRegEx: String) {
21+
query pvalue {
2222
FAQ: allMdx(
2323
filter: { fileAbsolutePath: { regex: "/pvalue/FAQ/" } }
2424
sort: { fields: frontmatter___order, order: ASC }
@@ -45,6 +45,5 @@ export const pageQuery = graphql`
4545
}
4646
}
4747
}
48-
...webmentionQuery
4948
}
5049
`;

gatsby-theme-rpsych-therapist-effects/src/pages/therapist-effects.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default (props) => {
1818
};
1919

2020
export const pageQuery = graphql`
21-
query therapistEffects($permalinkRegEx: String) {
21+
query therapistEffects {
2222
FAQ: allMdx(
2323
filter: { fileAbsolutePath: { regex: "/therapist-effects/FAQ/" } }
2424
sort: { fields: frontmatter___order, order: ASC }
@@ -61,6 +61,5 @@ export const pageQuery = graphql`
6161
}
6262
}
6363
}
64-
...webmentionQuery
6564
}
6665
`;

gatsby-theme-rpsych-viz/src/components/GitHubSponsors.js

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const gitHubQuery = graphql`
8787
createdAt
8888
}
8989
sponsor {
90-
name
9190
avatarUrl
9291
url
9392
login

gatsby-theme-rpsych-viz/src/components/Layout.js

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import MoreViz from "gatsby-theme-rpsych/src/components/MoreViz";
1010
import Contribute from "./Contribute";
1111
import SEO from "gatsby-theme-rpsych/src/components/seo";
1212
import clsx from "clsx";
13-
import Webmentions from 'gatsby-theme-rpsych/src/components/Webmentions'
1413
import { useTranslation } from "react-i18next"
1514

1615
const useStyles = makeStyles((theme) => ({
@@ -68,7 +67,6 @@ const VizLayout = ({ openSettings, children, path, data, license, pageContext })
6867
<Container className={classes.textContent}>
6968
<Faq data={data.FAQ}/>
7069
<Contribute />
71-
<Webmentions data={data}/>
7270
</Container>
7371
<Container maxWidth="lg" lang="en">
7472
<Typography variant="h2" component="h2" align="center" gutterBottom>

0 commit comments

Comments
 (0)