Updated
This commit is contained in:
parent
cde344cb59
commit
b8a0d0179e
12 changed files with 70 additions and 44 deletions
|
|
@ -1,11 +1,12 @@
|
|||
import { $companyName, $copyRightYear } from "../../configs/config.site.ts";
|
||||
import * as fs from 'node:fs'
|
||||
import * as toml from 'toml'
|
||||
|
||||
const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<>
|
||||
<span>
|
||||
Copyright © {$copyRightYear.get()} {$companyName.get()} All Rights Reserved.
|
||||
</span>
|
||||
</>
|
||||
<span>
|
||||
Copyright © {config.copyright.year} {config.copyright.name} All Rights Reserved.
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue