Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

@fast-ai/gatsby-theme-fast-ai

Quick Start

mkdir my-site
cd my-site
yarn init
# install gatsby-theme and it's dependencies
yarn add gatsby react react-dom gatsby-theme-fast-ai

Then add the theme to your gatsby-config.js. We’ll use the long form here for education purposes.

module.exports = {
	siteMetadata,
	plugins: [
		{
			resolve: 'gatsby-theme-fast-ai',
			options: {
				intlOptions: {
					languages: ['en', 'cs'],
					path: `${__dirname}/src/intl`,
					defaultLanguage: 'cs',
				},
				siteMetadata: {
					author: 'Jerry Lundegaard',
					description: 'Beautiful site',
					title: 'FastAI Docs examples',
				}
			},
		},
	],
};

That’s it, you can now run your gatsby site using

yarn gatsby develop

Note that this site doesn’t do anything, so you’re see a missing resources error. Create a simple page in src/pages/index.mdx to see a page on the root url.

# Welcome!

<Section>
	...to my MDX-powered site!
</Section>

Options

intlOptions

siteMetadata

  • title - Page title
  • author - SEO metadata
  • description - SEO metadata

License

All packages are distributed under the MIT license. See the license here.

© 2021 Lundegaard a.s.

© 2023 Gatsby, Inc.