Write website capture template on one line

For some reason `org-edit-special` adds a comma in the multiline string
when exiting, so let's not use multiline strings.
This commit is contained in:
Antoine Martin 2020-04-13 18:56:12 +02:00
parent 946a74ec7d
commit bfbf2377aa

View file

@ -264,8 +264,7 @@ Customize the capture templates:
("w" "website" plain (function org-roam-capture--get-point) ("w" "website" plain (function org-roam-capture--get-point)
"" ""
:file-name "websites/${slug}" :file-name "websites/${slug}"
:head "#+TITLE: ${title} :head "#+TITLE: ${title}\n#+ROAM_KEY: %x\n"
#+ROAM_KEY: %x\n"
:unnarrowed t)))) :unnarrowed t))))
#+END_SRC #+END_SRC