Daily Journal Template in Logseq DB?

Can anyone tell me how I can make a template that populates nodes in my daily journal? I know how to make properties/set them, but I just want to populate every day with a few different headers to take notes under, but the way it was done before does not seem to work anymore.

I’ve never actually gotten round to using them myself but I believe this tutorial is that you’re wanting.

As you suggested Noelle, it appears to work differently in the new Logseq DB. The solution I found was to set up the template itself per Thorah’s link, but then instead of adding it to the config.edn, open the your ‘Templates’ page (search for using cmd-k) and you’ll see your templates listed as blocks on that page.

Under each template, you’ll see an ‘Apply template to tags:’ property - click that and select ‘Journal’.

Now when you create new journal pages, it’ll pull through the template in the same way as Logseq OG used to.

TBF this looks like a great, extensible and useful improvement in the Logseq DB - just needs to be updated in the documentation.

2 Likes

@oparis , were you able to get this to work in Logseq DB? I haven’t been able to. The docs say “…Apply template to tags property…For example, create a template and configure the property to apply to #Journal. Now whenever a journal page is created, the template gets applied at the top of the page.”, but it doesn’t seem to apply the template.

Yeh, I’m using it and its working as documented.

One thing that caught me out when I was first testing it was that it will only apply the template to newly created journal pages, and those pages are only created once when you first visit the given journal page. So if you’ve previously jumped ahead to a future journal page before implementing the template, the template will never get automatically re-applied to that page.

Makes sense when you think about it, but caught me out specifically when testing this feature because I was jumping around between journal pages a lot.

Do you think that could be what’s happening in your instance?

Turns out patience was the solution to this issue. It’s working as expected. Thanks!