/logseq-plugin-weekdays-and-weekends

Daily templates for each day of the week

Primary LanguageTypeScriptMIT LicenseMIT

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.

latest release version License Downloads 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:

  1. Weekdays template Main-Template
  2. Main/Sub template Sub-Template
  3. weekends template Weekends-Template
  4. Public holiday template Holidays-Template

It is possible to specify conditions using multiple templates and change days of a week.

Offer 2 options:

  1. Private holiday (or annual leave)
  2. Working on holidays

Demo

image


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

    image

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

Prior art & Credit

Library

Logseq Plugin

Icon


🍌Buy Me A Coffee