website: update footer. #102

This commit is contained in:
jaywcjlove 2022-11-17 13:28:01 +08:00
parent 709aef66fb
commit 5c8b11767f

View File

@ -1,7 +1,7 @@
import formatter from '@uiw/formatter';
export function footer(options = {}) {
const footerText = '© 2022 Kenny Wang.';
let footerText = '© 2022 Kenny Wang.';
if (options.isHome) {
footerText += ` Updated on ${formatter('YYYY/MM/DD HH:mm:ss', new Date())}`;
}