mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
feat: add RSS feed generation and content management features
This commit is contained in:
parent
4d989e0a7d
commit
5d3a3b0321
6 changed files with 189 additions and 49 deletions
20
src/components/Header.astro
Normal file
20
src/components/Header.astro
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
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