Daily Note Template not working

I followed the instructions for setting up a Daily Note template and for making it my default Index page. The Daily Note is becoming the index page each day, but the template for it is not instantiating. It still just opens with the original Daily Note template with the bullet and cursor and nothing else on the page. Trying to understand where I have missed something to make this work and hope someone can help.

Here’s my settings:

space-config
indexPage: "Journal/Day/{{today}}"
libraries:
- import: "[[!silverbullet.md/Library/Core/*]]"
- import: "[[!silverbullet.md/Library/Journal/*]]"

Here’s the front matter on the Daily Note template(Library/Journal/New Page/Daily Note):

description: "Your daily note template"
tags: template
hooks.newPage:
  suggestedName: "Journal/Day/{{today}}"
  confirmName: false
  openIfExists: true
  forPrefix: "Journal/Day/"
  command: "Open Daily Note"
  key: "Alt-Shift-d"

Then my daily note template is just a set of sections with preexisting content I want to be on the Daily Note journal page every day. My expectation is that when I go to index each day, there will be a fresh Daily Note just like this one.

# Sections

* [[Kilroy]]
* [[MI]]
* [[SPG]]
* [[Home and Family]]

# Call Notes
[[Chuck]]
|^|

[[Keith]]

# Notes for the day
*

Any help is appreciated.

There is nothing wrong with your config, I think. Did you run “Libraries: Update” yet?

I’m not sure why this doesn’t work, but a few things:

First, I’d create a copy of the Daily template if you’re changing it and put it elsewhere, e.g. Library/Personal/New Page/Daily Note.

Second, I’d exclude the default library page to be imported (so that you will not have two templates responding to the same prefix), as follows:

- import: "[[!silverbullet.md/Library/Journal/*]]"
  exclude:
  - "[[Library/Journal/New Page/Daily Note]]"

Then, run Library: Update again, and make sure you now only have one Daily Note template in your meta picker — the one you copied.

Then you can your changes to your Library/Personal/New Page/Daily Note that should apply.

If that doesn’t work, please copy & paste your entire template. Now you pasted the frontmatter part and the content part separately, I’m not 100% if you put those together right.

1 Like

Thank you for the reply and help. Strangely enough, rather than a blank page, this morning, I had my entire template load correctly. Not sure why, but it seems to be working now.