Added revcount.
This commit is contained in:
parent
9de60cc7b0
commit
0c64899d77
2 changed files with 4 additions and 2 deletions
|
|
@ -30,7 +30,8 @@ export default defineConfig({
|
|||
env: {
|
||||
schema: {
|
||||
REVISION: envField.string({context: "server", access: "public", optional: true, default: "DEV"}),
|
||||
FULL_REVISION: envField.string({context: "server", access: "public", optional: true, default: "DEV"})
|
||||
FULL_REVISION: envField.string({context: "server", access: "public", optional: true, default: "DEV"}),
|
||||
REV_COUNT: envField.number({context: "server", access: "public", optional: true, default: 0})
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -4,6 +4,7 @@ import Icon from '../assets/circle-half.svg';
|
|||
|
||||
const rev = import.meta.env.REVISION;
|
||||
const revURL = `https://code.destrealm.net/zancarius/sundays/src/commit/${import.meta.env.FULL_REVISION}`;
|
||||
const revCount = import.meta.env.REV_COUNT;
|
||||
---
|
||||
<footer>
|
||||
<ul>
|
||||
|
|
@ -11,6 +12,6 @@ const revURL = `https://code.destrealm.net/zancarius/sundays/src/commit/${import
|
|||
<li>© 2026 <a href="https://bashelton.com/">Benjamin A. Shelton</a></li>
|
||||
<li>Some rights reserved.</li>
|
||||
<li>Revised § <a href="https://git.destrealm.net/zancarius/sundays">November 2026</a></li>
|
||||
<li>Revision ¤ <a href={revURL}>{rev}</a></li>
|
||||
<li>Revision ¤ <a href={revURL}>{rev}-r{revCount}</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
Loading…
Reference in a new issue