Skip to content

Commit

Permalink
Merge pull request #40 from Ultraschall/addmetadata
Browse files Browse the repository at this point in the history
Addmetadata
  • Loading branch information
nucleus-ffm committed Sep 16, 2023
2 parents d5b87f6 + 4cf4592 commit e08397c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
{
metadata: [
{name: 'title', content: 'Ultraschall Documentation'},
{name: 'description', content: 'Learn how to make podcasts with Ultraschall'},
Expand All @@ -42,7 +42,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
disableSwitch: false,
respectPrefersColorScheme: false,
defaultMode: 'light',
},
},
navbar: {
title: 'Ultraschall Handbuch',
logo: {
Expand Down Expand Up @@ -128,7 +128,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
},
i18n: {
defaultLocale: 'de',
locales: ['de', 'en'],
Expand Down
4 changes: 1 addition & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ function HomepageHeader() {
export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<Layout>
<HomepageHeader />
<main>
<HomepageFeatures />
Expand Down

0 comments on commit e08397c

Please sign in to comment.