feat: copyright

This commit is contained in:
2026-04-26 15:39:15 +02:00
parent 8d7388835b
commit 169f35b556
5 changed files with 11 additions and 7 deletions
+5 -6
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { REPOSITORY, NAME, VERSION, BASE_URL } from '@/lib/meta'
import { REPOSITORY, NAME, VERSION, BASE_URL, TITLE, COPYRIGHT } from '@/lib/meta'
import { stripHTML } from '@/lib/strings';
</script>
<template>
@@ -8,10 +9,8 @@ import { REPOSITORY, NAME, VERSION, BASE_URL } from '@/lib/meta'
</template>
<hr />
<footer>
<small>
{{ new Date().getFullYear() }} Made with
<a :href="REPOSITORY">{{ NAME }} {{ VERSION }}</a>
<a :href="BASE_URL + 'atom.xml'"><i icon="rss"></i> RSS</a>
</small>
{{ stripHTML(TITLE) }} &copy; {{ new Date().getFullYear() }}, <span v-html="COPYRIGHT"></span> | Made with
<a :href="REPOSITORY">{{ NAME }} {{ VERSION }}</a> |
<a :href="BASE_URL + 'atom.xml'"><i icon="rss"></i> RSS</a>
</footer>
</template>
+1
View File
@@ -5,4 +5,5 @@ 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 COPYRIGHT = import.meta.env.VITE_APP_COPYRIGHT
export const BASE_URL = import.meta.env.BASE_URL