🛌
Logseq Plugin: Weekdays and Holidays (Templates) - Plugin for switching journal templates for weekdays and weekends, public holidays. It is possible to set templates for each day of the week. Also, support private holidays (or annual leave) max 6 dates.
This plugin is capable of corresponding to holidays in various countries around the world, thanks to date-holidays library.
Published 2023/05/04 (日本語README / ドキュメント
Features
- A mechanism for calling the functions of this plugin is achieved by placing what is called renderings in journal template.
- On pages other than journal, rendering waits. When loaded as today's journal, the designated template is reflected. And, as usual, the template can be called manually at any time.
Offer 4 templates:
- Weekdays template
Main-Template
- Main/Sub template
Sub-Template
- weekends template
Weekends-Template
- Public holiday template
Holidays-Template
It is possible to specify conditions using multiple templates and change days of a week.
Offer 2 options:
- Private holiday (or annual leave)
- Working on holidays
Demo
Getting Started
Install from Logseq Marketplace
-
Press [
---
] on the top right toolbar to open [Plugins
] -
Select
Marketplace
-
Type
week
in the search field, select it from the search results and install
Usage
- In this plugin, initial setup by the user is required once.
By default, several items are set to "off" in the initial configuration.
🖥️
Setup
Questions
- Always turn on this plugin for execute rendering when journal template is called. For Logseq mobile version, please manually call the template.
- Integration with existing Full House Templates, powerblocks, and SmartBlocks is possible.
- Support Dynamic variables of Logseq standard.
- It is possible to also place the renderer as a journal template in other graphs, but please note that the plugin settings are shared across all graphs.
Links
Manual:
Publish template:
Showcase / Questions / Ideas / Help
Go to the discussion tab to ask and find this kind of things.
Author
- GitHub: YU000jp
Prior art & Credit
Library
- @logseq/libs v.0.0.15 (Thanks! xyhp915)
- date-holidays
- SweetAlert2
- logseq-L10N