I have a page journal-template that I would like to use as a template for my daily journal pages. The file is in the pages directory, named journal-template.md.
According to Templates, a template needs to have a template tag to be used as a template: Add template:: journal-template directly under your template’s title (the page name and the template name don’t have to be the same, Logseq only looks for the template entry).
Run the template (anywhere): type the slash-command/templates, a list of templates should show up, choose your daily template. Press enter. It should run.
If not, your template is wrong. It should look something like this:
- ## Daily note
template:: daily
template-including-parent:: false
- up:: placeholder
- **A quote to think about**:
- {{renderer :interstitial, random, "quote" }}
- **Note self**:
- {{renderer :interstitial, yesterday, "NTNDS" }}
- ## End of day checklist đź“ť
- TODO Write ntnds here:
- Don't forget to write some encouraging words to your tomorrows self [[ntnds]]
- TODO Today I learned
- ## Planning
- TODO vitamins
- {{renderer :unfinishedBusiness}}
- TODO What is todays _frog_?
- ## Journal
- **9:00** [[BHighlights]]
(This is a literal copy of my daily template)
If it does run “by hand”, then:
2. Make sure your ?/logseq/config.edn is correct:
;; When creating the new journal page, the app will use your template if there is one.
;; You only need to input your template name here.
:default-templates
{:journals "daily"}
The template is working cause I tried using it manually and it worked. I tried your template as well and double triple checked everything but still it’s not working unfortunately. It’s not the end of the world I can quickly do it manually daily only takes an extra seconds
I have experienced a similar issue. The application must be open throughout the night as you crossover into the next day for the template to work. Another hacky approach is to delete the current daily page, and once the page is recreated, the template will be added.
Have a similar issue on my end. I have 2 graphs setup. The first one is where I first wrote my template. logseq can recognize and apply the template just fine, but it doesn’t get applied to the new journal note at midnight. The second graph I have opened simultaneously with the first graph and has the same template settings. At midnight, only the second graph has the template applied to the new journal note. Not sure if this situation is similar for others here.
Yep, tried all the solutions.
Daily Journal Pages not applying the default template setting in the config.cdn.
So this is surely not working.
Only way to have it work is to delete the journal page for the day & create a new one… Then the default template is being applied.