diff --git a/astro.config.mjs b/astro.config.mjs index ed31adda2c..8c3bb295a5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -75,6 +75,7 @@ export default defineConfig({ mastodon: 'https://fosstodon.org/@TauriApps', }, components: { + Footer: 'src/components/overrides/Footer.astro', MarkdownContent: 'starlight-blog/overrides/MarkdownContent.astro', Sidebar: 'starlight-blog/overrides/Sidebar.astro', ThemeSelect: 'starlight-blog/overrides/ThemeSelect.astro', diff --git a/src/components/overrides/Footer.astro b/src/components/overrides/Footer.astro new file mode 100644 index 0000000000..a5a7406e57 --- /dev/null +++ b/src/components/overrides/Footer.astro @@ -0,0 +1,24 @@ +--- +// src/components/EmailLink.astro +import type { Props } from '@astrojs/starlight/props'; +import Default from '@astrojs/starlight/components/Footer.astro'; +const year = new Date().getFullYear(); +--- + + + +
+ +

Copyright © {year} Tauri Contributors. CC-BY / MIT

+ +