Files
plainleaf/website/Library/Journal.md
T
Zef HemelandGitHub 25d14031c9 Fixes #926
Libraries have been rethought, see associated documentation.
2024-07-11 20:36:26 +02:00

910 B
Raw Blame History

This Libraries contains some useful page templates for journalers. Want to easily create a daily or weekly note? These templates can get you started. Instantiate them via {[Page: From Template]}.

Installation

In your SETTINGS list the following under libraries:

libraries:
- source: "[[!silverbullet.md/Library/Journal/*]]"

Then run the {[Libraries: Update]} command to install it.

See Libraries#Configuring libraries for more details.

Included templates

page
where name =~ /^{{escapeRegexp(@page.name)}}\//
render [[Library/Core/Query/Page]]

Tips

Do you want your space’s start page to always be either your daily or weekly note? You can!

To set the daily note as the default page, set the following in SETTINGS:

indexPage: "Journal/Day/{{today}}"

And for the weekly note:

indexPage: "Journal/Week/{{weekStart}}"