Skip to content

Commit

Permalink
website: update footer. #102
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 17, 2022
1 parent 709aef6 commit 5c8b117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/nodes/footer.mjs
Original file line number Diff line number Diff line change
@@ -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())}`;
}
Expand Down

0 comments on commit 5c8b117

Please sign in to comment.