Skip to content

Commit

Permalink
docs: add docs about lastUpdated (#1731)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzy940610 committed Dec 30, 2022
1 parent 9df598f commit c4870ba
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion docs/guide/theme-last-updated.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# Last Updated

Documentation coming soon...
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
---
```

0 comments on commit c4870ba

Please sign in to comment.