Fixed template issue with daily note.
This commit is contained in:
parent
51ec4ef527
commit
d609082e09
1 changed files with 6 additions and 6 deletions
|
|
@ -9,17 +9,17 @@ require("obsidian").setup({
|
||||||
-- Set to false to disable completion.
|
-- Set to false to disable completion.
|
||||||
nvim_cmp = true,
|
nvim_cmp = true,
|
||||||
},
|
},
|
||||||
daily_notes = {
|
|
||||||
-- Optional, if you keep daily notes in a separate directory.
|
|
||||||
folder = "diary",
|
|
||||||
-- Optional, if you want to automatically insert a template from your template directory like 'daily.md'
|
|
||||||
template = "Templates/daily_note"
|
|
||||||
},
|
|
||||||
templates = {
|
templates = {
|
||||||
subdir = "Templates",
|
subdir = "Templates",
|
||||||
-- A map for custom variables, the key should be the variable and the value a function
|
-- A map for custom variables, the key should be the variable and the value a function
|
||||||
substitutions = {},
|
substitutions = {},
|
||||||
},
|
},
|
||||||
|
daily_notes = {
|
||||||
|
-- Optional, if you keep daily notes in a separate directory.
|
||||||
|
folder = "diary",
|
||||||
|
-- Optional, if you want to automatically insert a template from your template directory like 'daily.md'
|
||||||
|
template = "daily_note.md"
|
||||||
|
},
|
||||||
note_id_func = function(title)
|
note_id_func = function(title)
|
||||||
local suffix = ""
|
local suffix = ""
|
||||||
if title ~= nil then
|
if title ~= nil then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue