website: update footer. #102
This commit is contained in:
parent
709aef66fb
commit
5c8b11767f
@ -1,7 +1,7 @@
|
|||||||
import formatter from '@uiw/formatter';
|
import formatter from '@uiw/formatter';
|
||||||
|
|
||||||
export function footer(options = {}) {
|
export function footer(options = {}) {
|
||||||
const footerText = '© 2022 Kenny Wang.';
|
let footerText = '© 2022 Kenny Wang.';
|
||||||
if (options.isHome) {
|
if (options.isHome) {
|
||||||
footerText += ` Updated on ${formatter('YYYY/MM/DD HH:mm:ss', new Date())}`;
|
footerText += ` Updated on ${formatter('YYYY/MM/DD HH:mm:ss', new Date())}`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user