update: obsidian-omnivore config

Added personalized frontmatter template for archived date feature
This commit is contained in:
Mathis Gauthey
2024-01-04 10:56:23 +01:00
parent 5401f82472
commit 8bf312baa3
3 changed files with 48 additions and 22 deletions

View File

@@ -8,16 +8,16 @@
"template": "# {{{title}}}\n\n#Omnivore\n\n[Read on Omnivore]({{{omnivoreUrl}}})\n[Read Original]({{{originalUrl}}})\n\n{{#note}}\n## Notes\n\n{{{note}}}\n{{/note}}\n\n{{#highlights.length}}\n## Highlights\n\n{{#highlights}}\n> {{{text}}} [⤴️]({{{highlightUrl}}}) {{#labels}} #{{name}} {{/labels}}\n{{#note}}\n\n{{{note}}}\n{{/note}}\n\n{{/highlights}}\n{{/highlights.length}}\n## Webpage\n\n{{{content}}}",
"highlightOrder": "LOCATION",
"syncing": false,
"folder": "_Sources/{{{date}}}",
"folder": "_Sources",
"folderDateFormat": "yyyy-MM-dd",
"endpoint": "https://api-prod.omnivore.app/api/graphql",
"filename": "{{{title}}}",
"filenameDateFormat": "yyyy-MM-dd",
"attachmentFolder": "_Sources/attachments",
"version": "1.6.0",
"version": "1.8.1",
"isSingleFile": false,
"frequency": 0,
"intervalId": 0,
"frequency": 5,
"intervalId": 7,
"frontMatterVariables": [
"title",
"author",
@@ -28,5 +28,5 @@
"date_read",
"date_archived"
],
"frontMatterTemplate": ""
"frontMatterTemplate": "id: {{{id}}}\ntitle: >\n {{{title}}}\n{{#author}}\nauthor: >\n {{{author}}}\n{{/author}}\n{{#labels.length}}\ntags:\n{{#labels}} - {{{name}}}\n{{/labels}}\n{{/labels.length}}\nstate: {{{state}}}\ndate_published: {{{datePublished}}}\ndate_saved: {{{dateSaved}}}\ndate_read: {{{dateRead}}}\ndate_archived: {{#formatDate}}{{{dateArchived}}},\"yyyy-MM-dd HH:mm:ss\"{{/formatDate}}"
}