Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sitemap を追加 #30

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { defineConfig } from 'astro/config';
import { defineConfig } from 'astro/config'

import sitemap from '@astrojs/sitemap'

// https://astro.build/config
export default defineConfig({});
export default defineConfig({
site: 'https://asis.quest',
integrations: [sitemap()]
})
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"plop": "plop"
},
"dependencies": {
"@astrojs/sitemap": "3.1.6",
"astro": "4.11.3",
"sharp": "0.33.4"
},
Expand Down
1 change: 1 addition & 0 deletions src/components/MainHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const { title = 'ASIS', description = 'The quest to live life as it is' } = Astr
<meta charset="UTF-8"/>
<meta name="description" property="og:description" content={description}/>
<meta name="viewport" content="width=device-width"/>
<link rel="sitemap" href="/sitemap-index.xml" />
<meta name="generator" content={Astro.generator}/>
<title>{title}</title>

Expand Down
Loading