feat: rss link

This commit is contained in:
TaurusXin 2021-12-21 12:59:06 +00:00
parent 38ef3aeb20
commit 50cb551e78
3 changed files with 18 additions and 0 deletions

6
assets/icons/rss.svg Normal file
View File

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-rss" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="5" cy="19" r="1" />
<path d="M4 4a16 16 0 0 1 16 16" />
<path d="M4 11a9 9 0 0 1 9 9" />
</svg>

After

Width:  |  Height:  |  Size: 390 B

View File

@ -192,6 +192,14 @@ menu:
weight: -100
params:
icon: home
- identifier: rss
name: RSS
url: /index.xml
weight: -50
params:
icon: rss
newtab: true
social:
- identifier: github

View File

@ -21,6 +21,10 @@ date: "2021-12-21 11:56:00"
偏好 RSS 订阅的用户,订阅地址:[https://xingez.me/index.xml](https://xingez.me/index.xml)
正如很多人所说,玩静态站是要折腾的,我刚开始也不懂怎么配置这个主题,后来折腾了好几天,把基本的一些文章、页面和右侧栏原主题自带的组件给搬了过来,有些还不免要自己扩充主题,重写组件和 scss 等