mirror of
https://github.com/org-roam/org-roam
synced 2025-08-27 14:23:32 -05:00
(docs): add note about removing title timestamps in configuration.md (#175)
This commit is contained in:
@@ -111,6 +111,19 @@ If you wish to be prompted to change the file name on creation, set
|
|||||||
It is then the user's responsibility to ensure that the file names are
|
It is then the user's responsibility to ensure that the file names are
|
||||||
unique.
|
unique.
|
||||||
|
|
||||||
|
If you prefer just the title slug as the filename (with no timestamp),
|
||||||
|
you can use the following template:
|
||||||
|
|
||||||
|
```emacs-lisp
|
||||||
|
(defun my-org-roam-no-timestamp-in-title (title)
|
||||||
|
(let ((slug (org-roam--title-to-slug title)))
|
||||||
|
(format "%s" slug)))
|
||||||
|
|
||||||
|
(setq org-roam-templates
|
||||||
|
(list (list "default" (list :file #'my-org-roam-no-timestamp-in-title
|
||||||
|
:content "#+TITLE: ${title}"))))
|
||||||
|
````
|
||||||
|
|
||||||
### Autopopulating Titles
|
### Autopopulating Titles
|
||||||
|
|
||||||
The default workflow uses the title of the Org file in several
|
The default workflow uses the title of the Org file in several
|
||||||
|
Reference in New Issue
Block a user