![]() ![]() Now type config.edn, locate the result, and hit Enter: The F in front of the name indicates it's a fileĪnother way to open the config.edn file is by opening the settings screen and clicking the Edit config.edn button from the General tab: Step 2: Define the template Alternatively, click the □ icon in the top menu bar. To open the configuration file, open the search bar using the Cmd-k (macOS) / Ctrl-k (Windows, Linux) shortcut. However, config.edn has a few more options than are available via the interface. Anytime you change anything in the Logseq settings screen, they are saved to this file. The config.edn file is where your settings are saved. Have you set up a template you want to use every day? Great! Now let's see how to make it appear on the fresh Journals page you get every day at midnight. You can even choose to not automate the process and just run the /template command manually each day. You'll now see metadata added to the parent block: When you're done, click the Submit button. In other words: I recommend not enabling this option. ![]() However, as we're creating a daily template, the best practice is to have a template with all blocks on the root level (minimum indentation level). If you wish to include the parent block in the template, enable the option Including the parent block in the template. This name will also be used in the configuration file, so it's best to not include special characters like emojis in the template name. This will be the name that appears in the list when you run the /template command. Right-click on the parent block of the template and select the Make template option: ![]() One popular feature are the dynamic variables which let you add date links using natural language (e.g. In the Logseq documentation, you can find all the possibilities of templates. From a single block to hundreds Logseq can handle them all. Nested underneath the parent block you can add as many template blocks as you like. Keep this in mind as you structure your daily template. This way, all blocks that are part of the template will be tagged with those links when you run the template. Many people who decide to include this parent block in their template often add links to it. When creating the template trigger in the third step, you'll be able to set if you want to make this parent block part of the template or not. This will make navigating the ] page much easier. The best practice is to nest the template blocks underneath a parent block. Here are the three steps to set up a template in Logseq: Step 1: Create a parent block While it's possible to get an overview of all of your templates using a query, collecting all of them on one page makes management a lot easier. I recommend you pick one page where you store all of your templates (e.g. In case you already have a daily template set up, you can skip this section. How to set up a Logseq templateīefore we get started with the automation part, let's first have a look at setting up a template that you want to appear on the Journals page every day. If you already know how to create templates in Logseq, you can skip the first section and head over to how to set a daily recurring template. In this article, I'll show how to create templates and define a template that's loaded onto your Journals page every day. Personally, I have a daily template to track habits, have a place to write my morning pages, import calendar events, and have a simple inbox to capture anything else. There are many different ways Logseqers use templates on their Journals page. This comes in handy when you want to build systems in Logseq. Not only do templates provide structure, having consistent links means that you can more reliably find your notes using queries. Templates are the best way to easily structure and link your notes in Logseq. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |