Skip to content

Commit

Permalink
Merge pull request #30 from tatsutakein-jp/feature/GH-29
Browse files Browse the repository at this point in the history
feat: sitemap を追加
  • Loading branch information
tatsutakein authored Jul 3, 2024
2 parents 2d074d4 + b645fcb commit 5f496ad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
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

0 comments on commit 5f496ad

Please sign in to comment.