[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:
parent
5e85a7e892
commit
490679e0d2
3
content/.obsidian/community-plugins.json
vendored
3
content/.obsidian/community-plugins.json
vendored
@ -3,5 +3,6 @@
|
||||
"obsidian-zotero-desktop-connector",
|
||||
"2hop-links-plus",
|
||||
"obsidian-auto-link-title",
|
||||
"obsidian-pandoc-reference-list"
|
||||
"obsidian-pandoc-reference-list",
|
||||
"templater-obsidian"
|
||||
]
|
4
content/templates/_default.md
Normal file
4
content/templates/_default.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
date: <% tp.date.now("") %>
|
||||
---
|
||||
|
@ -47,7 +47,7 @@ const config: QuartzConfig = {
|
||||
transformers: [
|
||||
Plugin.FrontMatter(),
|
||||
Plugin.CreatedModifiedDate({
|
||||
priority: ["git", "filesystem", "frontmatter"], // you can add 'git' here for last modified from Git but this makes the build slower
|
||||
priority: [ "frontmatter","git",], // you can add 'git' here for last modified from Git but this makes the build slower
|
||||
}),
|
||||
Plugin.Latex({ renderEngine: "katex" }),
|
||||
Plugin.SyntaxHighlighting(),
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user