[obsidian] vault backup: 2024-02-08 15:53:17[
All checks were successful
Build / build (push) Successful in 1m54s
All checks were successful
Build / build (push) Successful in 1m54s
This commit is contained in:
@ -24,10 +24,12 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
|
||||
if (text) {
|
||||
const segments: string[] = []
|
||||
|
||||
if (fileData.dates) {
|
||||
segments.push('last updated: ' + formatDate(fileData.dates?.["modified"], cfg.locale))
|
||||
if (fileData.dates?.created) {
|
||||
segments.push('created: ' + formatDate(fileData.dates.created, cfg.locale))
|
||||
}
|
||||
if (fileData.dates?.modified) {
|
||||
segments.push('last updated: ' + formatDate(fileData.dates.modified, cfg.locale))
|
||||
}
|
||||
|
||||
// Display reading time if enabled
|
||||
if (options.showReadingTime) {
|
||||
const { text: timeTaken, words: _words } = readingTime(text)
|
||||
|
Reference in New Issue
Block a user