feat: RSS feed

This commit is contained in:
2026-04-26 11:06:20 +02:00
parent f918488963
commit 73152773cc
6 changed files with 69 additions and 15 deletions
+4 -3
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { REPOSITORY, NAME, VERSION } from '@/lib/meta'
import { REPOSITORY, NAME, VERSION, BASE_URL } from '@/lib/meta'
</script>
<template>
@@ -9,8 +9,9 @@ import { REPOSITORY, NAME, VERSION } from '@/lib/meta'
<hr />
<footer>
<small>
{{ new Date().getFullYear() }} - Made with <a :href="REPOSITORY">{{ NAME }}</a>
{{ VERSION }}
{{ new Date().getFullYear() }} Made with
<a :href="REPOSITORY">{{ NAME }} {{ VERSION }}</a>
<a :href="BASE_URL + 'atom.xml'"><i icon="rss"></i> RSS</a>
</small>
</footer>
</template>
+1
View File
@@ -5,3 +5,4 @@ export const VERSION = packageJson.version
export const REPOSITORY = packageJson.repository
export const TITLE = import.meta.env.VITE_APP_TITLE
export const SIGNATURE = import.meta.env.VITE_APP_SIGNATURE
export const BASE_URL = import.meta.env.BASE_URL