2024-07-12 02:36:26 +08:00
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]}.
2024-01-21 02:16:07 +08:00
# Installation
2024-07-12 02:36:26 +08:00
In your [[SETTINGS]] list the following under `libraries:`
```yaml
libraries:
2024-07-16 21:48:49 +08:00
- import: "[[!silverbullet.md/Library/Journal/*]]"
2024-07-12 02:36:26 +08:00
```
Then run the {[Libraries: Update]} command to install it.
2024-01-21 02:16:07 +08:00
2024-07-12 02:36:26 +08:00
See [[Libraries#Configuring libraries]] for more details.
2024-01-21 02:16:07 +08:00
# Included templates
```query
page
2024-07-03 01:12:40 +08:00
where name =~ /^{{escapeRegexp(@page.name)}}\//
2024-01-21 02:16:07 +08:00
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}}"
```