mirror of
https://github.com/Unkn0wnCat/Unkn0wnCat.net.git
synced 2025-04-28 09:46:48 +02:00
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import type { GatsbyConfig } from "gatsby";
|
|
|
|
const config: GatsbyConfig = {
|
|
siteMetadata: {
|
|
title: `Unkn0wnCat.net`,
|
|
siteUrl: `https://www.yourdomain.tld`,
|
|
},
|
|
// More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense.
|
|
// If you use VSCode you can also use the GraphQL plugin
|
|
// Learn more at: https://gatsby.dev/graphql-typegen
|
|
graphqlTypegen: true,
|
|
plugins: [
|
|
"gatsby-plugin-sass",
|
|
"gatsby-plugin-image",
|
|
"gatsby-plugin-mdx",
|
|
"gatsby-plugin-sharp",
|
|
"gatsby-transformer-sharp",
|
|
{
|
|
resolve: "gatsby-source-filesystem",
|
|
options: {
|
|
name: "images",
|
|
path: "./src/images/",
|
|
},
|
|
__key: "images",
|
|
},
|
|
{
|
|
resolve: "gatsby-source-filesystem",
|
|
options: {
|
|
name: "pages",
|
|
path: "./src/pages/",
|
|
},
|
|
__key: "pages",
|
|
},
|
|
{
|
|
resolve: `gatsby-source-youtube-v3`,
|
|
options: {
|
|
channelId: ["UCCoZp-6_P3CVFj4clQ6uaeg"],
|
|
apiKey: process.env.YOUTUBE_API_KEY,
|
|
maxVideos: 60,
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default config;
|