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

34 lines
910 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This [[Libraries|library]] 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:`
```yaml
libraries:
- source: "[[!silverbullet.md/Library/Journal/*]]"
```
Then run the {[Libraries: Update]} command to install it.
See [[Libraries#Configuring libraries]] for more details.
# Included templates
```query
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]]:
```yaml
indexPage: "Journal/Day/{{today}}"
```
And for the _weekly note_:
```yaml
indexPage: "Journal/Week/{{weekStart}}"
```