add commit sha to footer

This commit is contained in:
taskylizard 2023-11-04 12:26:40 +05:30
parent 0c604f89ee
commit bf504e0b26
No known key found for this signature in database
GPG key ID: 5CABA3D642DDC497
2 changed files with 15 additions and 1 deletions

View file

@ -2,7 +2,7 @@ import { defineConfig } from "vitepress";
import { withPwa } from "@vite-pwa/vitepress";
import UnoCSS from "unocss/vite";
import { presetUno, presetAttributify, presetIcons } from "unocss";
import { meta } from "./constants";
import { commitRef, meta } from "./constants";
import { pwa } from "./pwa";
import { generateMeta } from "./hooks/meta";
@ -62,6 +62,9 @@ export default defineConfig({
},
provider: "local",
},
footer: {
message: `Made with ❤️ (${commitRef})`,
},
outline: "deep",
logo: "/fmhy.ico",
nav: [