From a2c6d1a094aa5d49c35da3aa20da4b59eaae6182 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 4 Feb 2025 15:54:53 +0100 Subject: [PATCH] Remove references to twitter --- docs/_component/foot-site.jsx | 4 --- docs/_component/icon/twitter.jsx | 20 ----------- docs/_component/layout.jsx | 4 +-- docs/_component/nav-site.jsx | 6 ---- docs/_config.js | 3 +- docs/blog/conf.mdx | 54 ++++++++++------------------ docs/blog/custom-pragma.mdx | 2 +- docs/blog/shortcodes.mdx | 2 +- docs/blog/v1.mdx | 4 +-- docs/blog/v2.mdx | 4 +-- docs/blog/v3.mdx | 2 +- docs/community/about.mdx | 4 +-- docs/community/contribute.mdx | 6 ++-- docs/community/projects.mdx | 2 +- docs/community/sponsor.mdx | 2 +- docs/community/support.mdx | 2 +- docs/docs/extending-mdx.mdx | 2 +- docs/docs/getting-started.mdx | 2 +- docs/docs/troubleshooting-mdx.mdx | 2 +- docs/docs/using-mdx.mdx | 2 +- docs/docs/what-is-mdx.mdx | 4 +-- docs/guides/embed.mdx | 2 +- docs/guides/frontmatter.mdx | 2 +- docs/guides/gfm.mdx | 2 +- docs/guides/injecting-components.mdx | 2 +- docs/guides/math.mdx | 2 +- docs/guides/mdx-on-demand.mdx | 2 +- docs/guides/syntax-highlighting.mdx | 2 +- docs/index.mdx | 8 ++--- docs/migrating/v1.mdx | 4 +-- docs/migrating/v2.mdx | 2 +- docs/migrating/v3.mdx | 2 +- docs/playground.mdx | 4 +-- docs/table-of-components.mdx | 4 +-- website/generate.js | 10 ------ website/post.js | 4 --- 36 files changed, 58 insertions(+), 127 deletions(-) delete mode 100644 docs/_component/icon/twitter.jsx diff --git a/docs/_component/foot-site.jsx b/docs/_component/foot-site.jsx index a226e9d71..1cfbb02ac 100644 --- a/docs/_component/foot-site.jsx +++ b/docs/_component/foot-site.jsx @@ -27,10 +27,6 @@ export function FootSite() { Site on GitHub
- - Updates on Twitter - -
Updates as RSS feed diff --git a/docs/_component/icon/twitter.jsx b/docs/_component/icon/twitter.jsx deleted file mode 100644 index 7247cad0a..000000000 --- a/docs/_component/icon/twitter.jsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react' - -export function Twitter() { - return ( - - Twitter - - - ) -} diff --git a/docs/_component/layout.jsx b/docs/_component/layout.jsx index 8073a5464..f4007b44e 100644 --- a/docs/_component/layout.jsx +++ b/docs/_component/layout.jsx @@ -144,9 +144,7 @@ export function Layout(properties) { const creditsList = metaAuthors.map(function (d, i) { const href = d.github ? 'https://github.com/' + d.github - : d.twitter - ? 'https://twitter.com/' + d.twitter - : d.url || undefined + : d.url || undefined return ( {i ? ', ' : ''} diff --git a/docs/_component/nav-site.jsx b/docs/_component/nav-site.jsx index c29ca757d..67b02c710 100644 --- a/docs/_component/nav-site.jsx +++ b/docs/_component/nav-site.jsx @@ -17,7 +17,6 @@ import {config} from '../_config.js' import {GitHub} from './icon/github.jsx' import {Mdx} from './icon/mdx.jsx' import {OpenCollective} from './icon/open-collective.jsx' -import {Twitter} from './icon/twitter.jsx' import {NavigationGroup} from './nav.jsx' export function NavigationSiteSkip() { @@ -72,11 +71,6 @@ export function NavigationSite(properties) { -
  • - - - -
  • diff --git a/docs/_config.js b/docs/_config.js index 4503ec17f..4f896404d 100644 --- a/docs/_config.js +++ b/docs/_config.js @@ -14,8 +14,7 @@ export const config = { output: new URL('public/', git), site, tags: ['mdx', 'markdown', 'jsx', 'oss', 'react'], - title: 'MDX', - twitter: new URL('https://twitter.com/mdx_js') + title: 'MDX' } /** @type {Record} */ diff --git a/docs/blog/conf.mdx b/docs/blog/conf.mdx index 2556b060d..014fddaf7 100644 --- a/docs/blog/conf.mdx +++ b/docs/blog/conf.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'} + {github: 'johno', name: 'John Otander'} ], modified: new Date('2025-01-27'), published: new Date('2020-07-31') @@ -42,51 +42,51 @@ content authoring, and even peek behind the curtains to see how MDX works. ## Speakers -### [Chris Biscardi][chrisbiscardi] +### [Chris Biscardi] -[![](https://github.com/ChristopherBiscardi.png?size=200)][chrisbiscardi] +![](https://github.com/ChristopherBiscardi.png?size=200)] Keynote: The past, present, and future of MDX -### [Monica Powell][waterproofheart] +### [Monica Powell] -[![](https://github.com/M0nica.png?size=200)][waterproofheart] +[![](https://github.com/M0nica.png?size=200)] Migrating to MDX -### [Laurie Barth][laurieontech] +### [Laurie Barth] -[![](https://github.com/laurieontech.png?size=200)][laurieontech] +[![](https://github.com/laurieontech.png?size=200)] MDX v2 syntax -### [Cole Bemis][colebemis] +### [Cole Bemis] -[![](https://github.com/colebemis.png?size=200)][colebemis] +[![](https://github.com/colebemis.png?size=200)] Demystifying MDX -### [Prince Wilson][maxcell] +### [Prince Wilson] -[![](https://github.com/maxcell.png?size=200)][maxcell] +[![](https://github.com/maxcell.png?size=200)] Personal site playgrounds -### [Kathleen McMahon][resource11] +### [Kathleen McMahon] -[![](https://github.com/resource11.png?size=200)][resource11] +[![](https://github.com/resource11.png?size=200)] Digital gardening with MDX magic -### [Rodrigo Pombo][pomber] +### [Rodrigo Pombo] -[![](https://github.com/pomber.png?size=200)][pomber] +[![](https://github.com/pomber.png?size=200)] The X in MDX -### [Jonathan Bakebwa][codebender828] +### [Jonathan Bakebwa] -[![](https://github.com/codebender828.png?size=200)][codebender828] +[![](https://github.com/codebender828.png?size=200)] MDX and Vue/Nuxt @@ -118,26 +118,8 @@ We will have moderators to ensure that the code of conduct is followed. ### Do you have a different question? -Reach out to us on [Twitter][]. - -[chrisbiscardi]: https://twitter.com/chrisbiscardi +Reach out to us. [coc]: https://github.com/partycorgi/partycorgi/blob/corgi/CODE_OF_CONDUCT.md -[codebender828]: https://twitter.com/codebender828 - -[colebemis]: https://twitter.com/colebemis - [first commit]: https://github.com/mdx-js/mdx/commit/dee47dc20b08d534132e3b966cdccf3b88c7bca5 - -[laurieontech]: https://twitter.com/laurieontech - -[maxcell]: https://twitter.com/maxcell - -[pomber]: https://twitter.com/pomber - -[resource11]: https://twitter.com/resource11 - -[twitter]: https://twitter.com/mdx_js - -[waterproofheart]: https://twitter.com/waterproofheart diff --git a/docs/blog/custom-pragma.mdx b/docs/blog/custom-pragma.mdx index d1defe16c..4d0aabf33 100644 --- a/docs/blog/custom-pragma.mdx +++ b/docs/blog/custom-pragma.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'christopherbiscardi', name: 'Chris Biscardi', twitter: 'chrisbiscardi'} + {github: 'christopherbiscardi', name: 'Chris Biscardi'} ], modified: new Date('2021-11-01'), published: new Date('2019-03-11') diff --git a/docs/blog/shortcodes.mdx b/docs/blog/shortcodes.mdx index 4805ab2bc..445e0864f 100644 --- a/docs/blog/shortcodes.mdx +++ b/docs/blog/shortcodes.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'} + {github: 'johno', name: 'John Otander'} ], modified: new Date('2021-11-01'), published: new Date('2019-05-14') diff --git a/docs/blog/v1.mdx b/docs/blog/v1.mdx index 021876dea..707890124 100644 --- a/docs/blog/v1.mdx +++ b/docs/blog/v1.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'} + {github: 'johno', name: 'John Otander'} ], modified: new Date('2025-01-27'), published: new Date('2019-04-11') @@ -77,7 +77,7 @@ for implementing this feature. **Good libraries need great docs**, so we’ve been working on adding content and improving the overall documentation website experience. -* [Search (thanks Algolia)](https://mobile.twitter.com/4lpine/status/1114270174096412672) +* Search (thanks Algolia) * [Guides](/guides/) * [Automatic deployment via ZEIT][zeit] * [Custom Gatsby theme][gatsbyjs] diff --git a/docs/blog/v2.mdx b/docs/blog/v2.mdx index 26c5155bd..83c25d623 100644 --- a/docs/blog/v2.mdx +++ b/docs/blog/v2.mdx @@ -1,7 +1,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2022-02-01') @@ -131,7 +131,7 @@ We also added support for JavaScript expressions, take for example: ```mdx path="expressions.mdx" export const authors = [ {name: 'Jane', email: 'hi@jane.com'}, - {name: 'John', twitter: '@john2002'} + {name: 'John', github: '@johno'} ] export const published = new Date('2022-02-01') diff --git a/docs/blog/v3.mdx b/docs/blog/v3.mdx index e5bee1d52..3f7c878c6 100644 --- a/docs/blog/v3.mdx +++ b/docs/blog/v3.mdx @@ -1,7 +1,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2023-10-24') diff --git a/docs/community/about.mdx b/docs/community/about.mdx index 12e03e5d8..ed6ab1895 100644 --- a/docs/community/about.mdx +++ b/docs/community/about.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') @@ -119,7 +119,7 @@ The following articles inspired `@mdx-js/*` originally: [design]: https://github.com/mdx-js/design -[evil rabbit]: https://twitter.com/evilrabbit_ +[evil rabbit]: https://evilrabb.it [governance]: https://github.com/unifiedjs/collective diff --git a/docs/community/contribute.mdx b/docs/community/contribute.mdx index d69406fcc..19a57e182 100644 --- a/docs/community/contribute.mdx +++ b/docs/community/contribute.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2018-11-04') @@ -60,7 +60,7 @@ bug or suggest a new feature before creating a pull request. * Include as much information as possible: steps to reproduce the issue, error message, version, operating system, etcetera * The more time you put into an issue, the better we will be able to help you -* The best issue report is a [failing test][unit-test] proving it +* The best issue report is a failing test proving it ## Submitting a pull request @@ -133,5 +133,3 @@ To release a new version, do: [sponsor]: /community/sponsor/ [support]: /community/support/ - -[unit-test]: https://twitter.com/sindresorhus/status/579306280495357953 diff --git a/docs/community/projects.mdx b/docs/community/projects.mdx index 915cfa50d..5c799c911 100644 --- a/docs/community/projects.mdx +++ b/docs/community/projects.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'} + {github: 'johno', name: 'John Otander'} ], modified: new Date('2021-11-01'), published: new Date('2018-08-11') diff --git a/docs/community/sponsor.mdx b/docs/community/sponsor.mdx index 371f842bd..618f9ca6f 100644 --- a/docs/community/sponsor.mdx +++ b/docs/community/sponsor.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06'), diff --git a/docs/community/support.mdx b/docs/community/support.mdx index 8738da980..e04ff85f0 100644 --- a/docs/community/support.mdx +++ b/docs/community/support.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2019-07-03') diff --git a/docs/docs/extending-mdx.mdx b/docs/docs/extending-mdx.mdx index ff7478988..6ee3152e4 100644 --- a/docs/docs/extending-mdx.mdx +++ b/docs/docs/extending-mdx.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index 3cb61ba79..4a125642d 100644 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-05') diff --git a/docs/docs/troubleshooting-mdx.mdx b/docs/docs/troubleshooting-mdx.mdx index e77a0c198..b3c24d127 100644 --- a/docs/docs/troubleshooting-mdx.mdx +++ b/docs/docs/troubleshooting-mdx.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-18') diff --git a/docs/docs/using-mdx.mdx b/docs/docs/using-mdx.mdx index 7f956bf89..2953e0a5a 100644 --- a/docs/docs/using-mdx.mdx +++ b/docs/docs/using-mdx.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-09-30') diff --git a/docs/docs/what-is-mdx.mdx b/docs/docs/what-is-mdx.mdx index a5626867c..99950e766 100644 --- a/docs/docs/what-is-mdx.mdx +++ b/docs/docs/what-is-mdx.mdx @@ -2,8 +2,8 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'}, - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'johno', name: 'John Otander'}, + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2018-08-11') diff --git a/docs/guides/embed.mdx b/docs/guides/embed.mdx index ecd9ba709..cb0f212d7 100644 --- a/docs/guides/embed.mdx +++ b/docs/guides/embed.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/guides/frontmatter.mdx b/docs/guides/frontmatter.mdx index 6f6879b74..6435de7c0 100644 --- a/docs/guides/frontmatter.mdx +++ b/docs/guides/frontmatter.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/guides/gfm.mdx b/docs/guides/gfm.mdx index 985b0e9d1..212ca0158 100644 --- a/docs/guides/gfm.mdx +++ b/docs/guides/gfm.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/guides/injecting-components.mdx b/docs/guides/injecting-components.mdx index 6c2073309..9ec10a0ea 100644 --- a/docs/guides/injecting-components.mdx +++ b/docs/guides/injecting-components.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2024-07-04'), published: new Date('2023-10-24') diff --git a/docs/guides/math.mdx b/docs/guides/math.mdx index 07babe251..9fa8342b6 100644 --- a/docs/guides/math.mdx +++ b/docs/guides/math.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/guides/mdx-on-demand.mdx b/docs/guides/mdx-on-demand.mdx index f1e4065c1..821512b5c 100644 --- a/docs/guides/mdx-on-demand.mdx +++ b/docs/guides/mdx-on-demand.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-11-13') diff --git a/docs/guides/syntax-highlighting.mdx b/docs/guides/syntax-highlighting.mdx index 42d2f73a7..916ec8c98 100644 --- a/docs/guides/syntax-highlighting.mdx +++ b/docs/guides/syntax-highlighting.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2021-10-06') diff --git a/docs/index.mdx b/docs/index.mdx index 7e33cf261..b0648d7d4 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -3,8 +3,8 @@ import {Chart} from './_component/snowfall.jsx' export {Home as default} from './_component/home.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'}, - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'johno', name: 'John Otander'}, + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2017-12-23'), @@ -126,14 +126,12 @@ You’re using React, Preact, or Vue. > lol mdx is so good > -> — [**@dan\_abramov**][quote] +> — [**@dan\_abramov**] [getting-started]: /docs/getting-started/ [playground]: /playground/ -[quote]: https://twitter.com/dan_abramov/status/1286411354996449281 - [v3]: /blog/v3/ [what]: /docs/what-is-mdx/ diff --git a/docs/migrating/v1.mdx b/docs/migrating/v1.mdx index 5a0cbdab2..6f933920a 100644 --- a/docs/migrating/v1.mdx +++ b/docs/migrating/v1.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'} + {github: 'johno', name: 'John Otander'} ], modified: new Date('2025-01-27'), published: new Date('2019-04-04') @@ -47,7 +47,7 @@ inspired by This ensures that transpiled JSX is more readable and that JSX blocks use the same component as its markdown counterpart. It also allows MDXProvider to provide global component scope like a `Youtube` -or `Twitter` component. +component. The pragma implementation will also cause JSX HTML elements to be rendered with the component mapping passed to MDXProvider. diff --git a/docs/migrating/v2.mdx b/docs/migrating/v2.mdx index 60ba65f8b..2d471b0a1 100644 --- a/docs/migrating/v2.mdx +++ b/docs/migrating/v2.mdx @@ -2,7 +2,7 @@ import {Note} from '../_component/note.jsx' export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2022-02-01') diff --git a/docs/migrating/v3.mdx b/docs/migrating/v3.mdx index 782fbf3df..840651421 100644 --- a/docs/migrating/v3.mdx +++ b/docs/migrating/v3.mdx @@ -1,6 +1,6 @@ export const info = { author: [ - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2023-10-24'), published: new Date('2023-10-24') diff --git a/docs/playground.mdx b/docs/playground.mdx index f57f28621..92fb9feca 100644 --- a/docs/playground.mdx +++ b/docs/playground.mdx @@ -1,7 +1,7 @@ export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'}, - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'johno', name: 'John Otander'}, + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2023-12-24'), published: new Date('2021-09-13') diff --git a/docs/table-of-components.mdx b/docs/table-of-components.mdx index 597f46178..ed2a7bf8e 100644 --- a/docs/table-of-components.mdx +++ b/docs/table-of-components.mdx @@ -1,7 +1,7 @@ export const info = { author: [ - {github: 'johno', name: 'John Otander', twitter: '4lpine'}, - {github: 'wooorm', name: 'Titus Wormer', twitter: 'wooorm'} + {github: 'johno', name: 'John Otander'}, + {github: 'wooorm', name: 'Titus Wormer'} ], modified: new Date('2025-01-27'), published: new Date('2020-03-11') diff --git a/website/generate.js b/website/generate.js index 6b6b17860..6c7bb6951 100644 --- a/website/generate.js +++ b/website/generate.js @@ -13,8 +13,6 @@ * GitHub handle (optional). * @property {string} name * Name. - * @property {string | undefined} [twitter] - * Twitter handle (optional). * @property {string | undefined} [url] * URL (optional). * @@ -23,8 +21,6 @@ * @property {Array> | Readonly | undefined} [author] * Author(s) (optional); * note: mutable because `isArray` casts to any. - * @property {string | undefined} [authorTwitter] - * Primary twitter handle (optional). * @property {Date | undefined} [published] * Published date (optional). * @property {Date | undefined} [modified] @@ -88,10 +84,6 @@ const allInfo = await pAll( return d.name }) - if (authors[0] && authors[0].twitter) { - restInfo.authorTwitter = authors[0].twitter - } - const abbreviatedAuthors = authorNames.length > 3 ? [...authorNames.slice(0, 2), 'others'] @@ -242,8 +234,6 @@ await pAll( separator: ' | ', siteAuthor: config.author, siteTags: config.tags, - siteTwitter: '@' + config.twitter.pathname.slice(1), - twitter: true, type: 'article' }) .use(rehypeLazyCss, [ diff --git a/website/post.js b/website/post.js index b58bceadd..396c7ee46 100644 --- a/website/post.js +++ b/website/post.js @@ -222,10 +222,6 @@ await pAll( } .og-root { - /* Twitter seems to cut 1em off the size in the height, - * compared to facebook. So this’ll look a bit big on FB - * but the assumption is that most folks will share on - * twitter */ height: calc(100vh - calc(2 * (1em + 1ex))); display: flex; flex-flow: column;