mirror of
https://github.com/Unkn0wnCat/Unkn0wnCat.net.git
synced 2025-05-20 20:36:30 +02:00
Redesign layout and frontpage
This commit is contained in:
parent
61ab21f4d8
commit
9d78864e5d
28 changed files with 2635 additions and 763 deletions
103
gatsby-config.js
103
gatsby-config.js
|
@ -1,51 +1,61 @@
|
|||
try {
|
||||
require('dotenv').config();
|
||||
} catch(e) {}
|
||||
require("dotenv").config();
|
||||
} catch (e) {}
|
||||
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: `Unkn0wnCat.net`,
|
||||
description: `A german gamer, coder, video editor.`,
|
||||
author: `@Unkn0wnKevin`,
|
||||
siteUrl: `https://unkn0wncat.net`,
|
||||
},
|
||||
plugins: [
|
||||
`gatsby-plugin-react-helmet`,
|
||||
{
|
||||
resolve: `gatsby-plugin-sitemap`,
|
||||
options: {
|
||||
output: `/sitemap.xml`,
|
||||
createLinkInHead: true
|
||||
}
|
||||
siteMetadata: {
|
||||
title: `Unkn0wnCat.net`,
|
||||
description: `A german gamer, coder, video editor.`,
|
||||
author: `@Unkn0wnKevin`,
|
||||
siteUrl: `https://unkn0wncat.net`,
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-plugin-sass`
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
name: `images`,
|
||||
path: `${__dirname}/src/images`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
name: `content`,
|
||||
path: `${__dirname}/content`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-youtube-v3`,
|
||||
options: {
|
||||
channelId: ['UCCoZp-6_P3CVFj4clQ6uaeg'],
|
||||
apiKey: process.env.YOUTUBE_API_KEY,
|
||||
maxVideos: 60
|
||||
},
|
||||
},
|
||||
`gatsby-transformer-remark`,
|
||||
`gatsby-plugin-sharp`,
|
||||
/*{
|
||||
plugins: [
|
||||
{
|
||||
resolve: `gatsby-plugin-typescript`,
|
||||
options: {
|
||||
isTSX: true,
|
||||
allExtensions: true,
|
||||
},
|
||||
},
|
||||
`gatsby-plugin-image`,
|
||||
`gatsby-plugin-sharp`,
|
||||
`gatsby-transformer-sharp`,
|
||||
`gatsby-plugin-react-helmet`,
|
||||
{
|
||||
resolve: `gatsby-plugin-sitemap`,
|
||||
options: {
|
||||
output: `/sitemap.xml`,
|
||||
createLinkInHead: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-plugin-sass`,
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
name: `images`,
|
||||
path: `${__dirname}/src/images`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
name: `content`,
|
||||
path: `${__dirname}/content`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-youtube-v3`,
|
||||
options: {
|
||||
channelId: ["UCCoZp-6_P3CVFj4clQ6uaeg"],
|
||||
apiKey: process.env.YOUTUBE_API_KEY,
|
||||
maxVideos: 60,
|
||||
},
|
||||
},
|
||||
`gatsby-transformer-remark`,
|
||||
`gatsby-plugin-sharp`,
|
||||
/*{
|
||||
resolve: `gatsby-plugin-manifest`,
|
||||
options: {
|
||||
name: `Unkn0wnCat.net`,
|
||||
|
@ -59,6 +69,5 @@ module.exports = {
|
|||
cache_busting_mode: 'none'
|
||||
},
|
||||
},*/
|
||||
|
||||
],
|
||||
}
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue