feat: RSS feed
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user