【vuepress】vuepress (五)md文件末尾显示git更新时间
5. 增加底部显示更新时间
前提是docs/都被git管理
config.js
themeConfig: {
lastUpdated: '更新时间',
logo: '/logo.png',
nav:[ // 导航栏配置
{text: '前端基础', link: '/accumulate/' },
{text: '算法题库', link: '/algorithm/'},
{text: '微博', link: 'https://baidu.com'},
{
text: 'Languages',
ariaLabel: 'Language Menu',
items: [
{ text: 'Chinese', link: '/language/chinese/' },
{ text: 'Japanese', link: '/language/japanese/' }
]
}
],
Written on July 22, 2020