Update docusaurus.config.js

This commit is contained in:
Toastie 2023-11-06 23:16:23 -08:00
parent edb3f07785
commit fb39351652

View file

@ -6,12 +6,12 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'Emotions Blog', title: 'Toasties Blog',
tagline: 'The chaotic world of EmotionChild', tagline: 'The chaotic world of Toastie_t0ast',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
// Set the production url of your site here // Set the production url of your site here
url: 'https://blog.emotionchild.com', url: 'https://blog.toastiet0ast.com',
// Set the /<baseUrl>/ pathname under which your site is served // Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/' // For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/', baseUrl: '/',
@ -43,12 +43,12 @@ const config = {
showReadingTime: true, showReadingTime: true,
readingTime: ({content, frontMatter, defaultReadingTime}) => readingTime: ({content, frontMatter, defaultReadingTime}) =>
frontMatter.hide_reading_time ? undefined : defaultReadingTime({content}), frontMatter.hide_reading_time ? undefined : defaultReadingTime({content}),
blogTitle: 'Emotion Blog', blogTitle: 'Toasties Blog',
blogDescription: 'Here you can find blog posts about what Emotion has gotten up to', blogDescription: 'Here you can find blog posts about what Toastie has gotten up to',
postsPerPage: 'ALL', postsPerPage: 'ALL',
feedOptions: { feedOptions: {
type: 'all', type: 'all',
copyright: `Copyright © ${new Date().getFullYear()} EmotionChild.`, copyright: `Copyright © ${new Date().getFullYear()} toastie_t0ast.`,
}, },
}, },
theme: { theme: {
@ -63,7 +63,7 @@ const config = {
({ ({
// Replace with your project's social card // Replace with your project's social card
navbar: { navbar: {
title: 'Emotions Blog', title: 'Toasties Blog',
logo: { logo: {
alt: 'My Site Logo', alt: 'My Site Logo',
src: 'img/favicon.png', src: 'img/favicon.png',
@ -102,7 +102,7 @@ const config = {
], ],
}, },
], ],
copyright: `Copyright © ${new Date().getFullYear()} EmotionChild`, copyright: `Copyright © ${new Date().getFullYear()} ToastieChild`,
}, },
prism: { prism: {
theme: lightCodeTheme, theme: lightCodeTheme,