@@ -2,9 +2,9 @@ import * as React from "react"
22import { useStaticQuery , graphql } from "gatsby"
33import { Link } from "gatsby"
44import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
5- import { faGithub , faTwitter , faMastodon } from '@fortawesome/free-brands-svg-icons'
5+ import { faGithub , faMastodon } from '@fortawesome/free-brands-svg-icons'
66
7- const Layout = ( { location, title, children } ) => {
7+ const Layout = ( { location, title, children } ) => {
88 const rootPath = `${ __PATH_PREFIX__ } /`
99 const isRootPath = location . pathname === rootPath
1010 let header
@@ -15,7 +15,6 @@ const Layout = ({ location, title, children }) => {
1515 siteMetadata {
1616 social {
1717 mastodon
18- twitter
1918 github
2019 }
2120 }
@@ -47,15 +46,11 @@ const Layout = ({ location, title, children }) => {
4746 < a href = "http://www.metafacture.org" > Metafacture.org</ a >
4847 { ` | ` }
4948 < a href = { `https://openbiblio.social/@${ social ?. mastodon || `` } ` } >
50- Mastodon < FontAwesomeIcon icon = { faMastodon } size = "1x" style = { { color : `#3088d4` } } />
51- </ a >
52- { ` | ` }
53- < a href = { `https://twitter.com/${ social ?. twitter || `` } ` } >
54- Twitter < FontAwesomeIcon size = "1x" icon = { faTwitter } />
49+ Mastodon < FontAwesomeIcon icon = { faMastodon } size = "1x" style = { { color : `#3088d4` } } />
5550 </ a >
5651 { ` | ` }
5752 < a href = { `https://www.github.com/${ social ?. github || `` } ` } >
58- GitHub < FontAwesomeIcon icon = { faGithub } size = "1x" style = { { color : `#000` } } />
53+ GitHub < FontAwesomeIcon icon = { faGithub } size = "1x" style = { { color : `#000` } } />
5954 </ a >
6055 { ` | ` }
6156 < a href = "/rss.xml" > Feed</ a >
0 commit comments