What I’m trying to do
I have a Daily Note templater template. Works perfectly on desktop. However, when the dauly note is created on mobile, templater code does not seems to be executed. What could I be missing ?
I’m using Obsidian Sync to sync Obsidian settings and plugins across the different devices I use.
Here is the template source:
<%* day = moment().format("dddd"); capitalizedDay = day.charAt(0).toUpperCase() + day.slice(1);%># <% capitalizedDay + " " + moment(tp.file.title,'YYYY-MM-DD').format("D MMMM YYYY") %>
<< [[05_Daily/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM", -1) %>/<% tp.date.now("YYYY-MM-DD", -1) %>|Yesterday]] | [[05_Daily/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM", 1) %>/<% tp.date.now("YYYY-MM-DD", 1) %>|Tomorrow]] >>
---
## 📝 Journal
<% tp.file.cursor() %>
---
## 📅 Notes
-
---
## ✅ Todo
- [ ]
---
> [!multi-column]
>
>> [!Todo]- [[✅ Todo MOC]]
>> ```dataview
>> TASK
>> FROM ""
>> WHERE !completed AND file.name != "Daily"
>> SORT file.ctime DESC
>> ```
>>
>
>> [!TIP]- [[👀 To Check]]
>> ```dataview
>> LIST
>> FROM ""
>> WHERE contains(tags, "to/")
>> SORT file.mtime desc
>> FLATTEN file.link AS Note
>> SORT file.mtime desc
>> ```
>>
---
### Created today
```dataview
List
FROM ""
WHERE
file.cday = date("<% tp.date.now("YYYY-MM-DD") %>")
AND file.name != <% tp.file.title %>
SORT file.ctime asc
```
### Edited today
```dataview
List
FROM ""
WHERE
file.mday = date("<%tp.date.now("YYYY-MM-DD")%>")
AND file.cday != date("<%tp.date.now("YYYY-MM-DD")%>")
AND !contains(file.folder, "TickTick")
SORT
file.mtime asc
```
Are you seeing anything that could be a problem on mobile ?
Things I have tried
I ensured Templater is enabled on mobile.
I’ve looked into Templater settings on mobile to see if there is anything that could be related to the problem I’m seeing, but with no luck.
Thanks for your help !