Updated
This commit is contained in:
parent
8197905483
commit
efc045bebd
48 changed files with 779 additions and 1140 deletions
16
@dasig/components/Copyright.astro
Normal file
16
@dasig/components/Copyright.astro
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import * as toml from 'toml'
|
||||
import * as fs from 'fs'
|
||||
|
||||
const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
|
||||
|
||||
// interface Props {
|
||||
// year: string
|
||||
// name: string
|
||||
// }
|
||||
---
|
||||
|
||||
<span>
|
||||
Copyright © {config.copyright.year}
|
||||
{config.copyright.name} All Rights Reserved.
|
||||
</span>
|
||||
Loading…
Add table
Add a link
Reference in a new issue