feat: Make any property of frontmatter a display name (#329)

This commit is contained in:
Simon Cambier
2024-06-29 17:02:11 +02:00
parent 94d687aeaa
commit 38c964bec2
6 changed files with 26 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
$: cleanedContent = plugin.textProcessor.makeExcerpt(note.content, note.matches[0]?.offset ?? -1)
$: glyph = false //cacheManager.getLiveDocument(note.path)?.doesNotExist
$: {
title = note.basename
title = note.displayTitle || note.basename
notePath = pathWithoutFilename(note.path)
// Icons