Add RSS feed link in the news page (#40)

* Add RSS feed link in the news page.

* Remove orange color to use brand color.
This commit is contained in:
Alessandro Jean 2023-09-09 20:03:12 -03:00 committed by GitHub
parent f8d334e6e0
commit ffd5cb32f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<script setup lang="ts">
import { IconRssBox } from "@iconify-prerendered/vue-mdi"
</script>
<template>
<a href="/feed.xml" class="rss" title="RSS feed for the news archive">
<IconRssBox />
<span>RSS feed</span>
</a>
</template>
<style lang="stylus" scoped>
.rss {
& > * {
vertical-align: middle
position: relative
bottom: 1px
}
svg {
width: 1em
height: 1em
display: inline-block
margin-right: 4px
}
}
</style>

View File

@ -9,10 +9,13 @@ next: false
<script setup> <script setup>
import News from "@theme/components/News.vue"; import News from "@theme/components/News.vue";
import RssLink from "@theme/components/RssLink.vue";
</script> </script>
# News archive # News archive
Collection of news and announcements about Tachiyomi. Collection of news and announcements about Tachiyomi.
Also available as <RssLink />.
<News /> <News />