logseq-smartblocks
logseq-smartblocks copied to clipboard
Dynamic variables for time and current page do not seem to render
Using Logseq 0.8.4 Using Smartblocks 3.4.5
I have a template in [[Templates]] with
- meeting notes
- **Topic:**
- **Participants:**
- **Discussion:**
- TODO todo
- <% today %>
- <% yesterday %>
- <% time %>
- <% current page %>
- <% last Friday %>
I then setup a Smartblock as in
{{renderer :smartblock, meeting notes, Notes, false}}
Either in a Journal page or another page, if I click the "Notes" button, the dynamic variables for time, and current page are not rendered correctly. As in I get
- **Topic:**
- **Participants:**
- **Discussion:**
- TODO todo
- Sep 3rd, 2022
- Sep 2nd, 2022
- <% time %>
- <% current page %>
- Sep 2nd, 2022
-
If I call the template directly I get the correct values for the dynamic variables
- meeting notes
- **Topic:**
- **Participants:**
- **Discussion:**
- TODO todo
- Sep 3rd, 2022
- Sep 2nd, 2022
- 17:20
- Sep 3rd, 2022
- Aug 26th, 2022
-
month doesn't render either