You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vitepress/docs/guide/theme-last-updated.md

26 lines
440 B

# Last Updated
The update time of the last content will be displayed in the lower right corner of the page.
To enable it, add `lastUpdated` options to your config.
## Page Configuration
Add `lastUpdated` options to your config.
```js
export default {
lastUpdated: true
}
```
## Frontmatter Configuration
If you would like to hide the last update text, set false to the `lastUpdated` option.
```yaml
---
lastUpdated: false
---
```