Add date to default org roam template

This commit is contained in:
Marcus Kammer 2021-10-30 10:17:42 +02:00
parent 9f29dfe55d
commit 44a6596b04
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -399,9 +399,13 @@
(org-roam-capture-templates
'(("d" "default" plain
"%?"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+date: %U\n")
:unnarrowed t)))
:config
(org-roam-db-autosync-mode))
(use-package simple-httpd)
(use-package yaml)
(use-package yaml-mode)