I would like to get my org roam dailies capture template to work but it returns with an error saying that the heading is not unique on level 1. My dailies capture template is as below:
(org-roam-dailies-capture-templates
(let ((head
(concat
"#+title: %<%A, %d %B %Y>\n#+roam_tags: Dailies\n* Inbox\n* Log\n"
"* [/] Do Today\n- [ ] Morning pages\n- [ ] Go through inbox\n- [ ] Flashcards\n* [/] Possibly Do Today\n")))
`(("d" "default" entry
"* %?"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Inbox"))
:unnarrowed t)
("D" "default + reference" entry
"* %?
%a"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Inbox"))
:unnarrowed t)
("j" "journal" entry
"* %U: %?"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Log")))
("J" "journal + refernce" entry
"* %U: %?
%a"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Log")))
("t" "Do Today" item
"[ ] %a"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Do Today"))
:immediate-finish t)
("p" "Possibly Do Today" item
"[ ] %a"
:if-new (file+head+olp "%<%Y>/%<%B>/%<%Y-%m-%d>" ,head ("Possibly Do Today"))
:immediate-finish t)
)))
I'm using org-roam v2 in Doom Emacs on Ubuntu 20.04