mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00
feat: head component with excellent SEO
This commit is contained in:
parent
5d3a3b0321
commit
7659bbd1e2
8 changed files with 221 additions and 75 deletions
|
@ -1,20 +0,0 @@
|
|||
---
|
||||
import themeConfig from '@/config'
|
||||
|
||||
const { title, subtitle, favicon } = themeConfig.site
|
||||
---
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href={favicon} />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{title} - {subtitle}</title>
|
||||
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
title={title}
|
||||
href={`${themeConfig.site.url}/rss.xml`}
|
||||
/>
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue