Add author to org-roam default capture template
This commit is contained in:
parent
89b975cb01
commit
1eb462885b
|
@ -90,7 +90,8 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
(with-eval-after-load 'org-roam
|
(with-eval-after-load 'org-roam
|
||||||
(setq org-roam-capture-templates
|
(setq org-roam-capture-templates
|
||||||
'(("d" "default" plain "%?"
|
'(("d" "default" plain "%?"
|
||||||
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
|
"#+title: ${title}\n#+author: %n")
|
||||||
:unnarrowed t))))
|
:unnarrowed t))))
|
||||||
#+end_src
|
#+end_src
|
||||||
* org-agenda
|
* org-agenda
|
||||||
|
|
Loading…
Reference in a new issue