Adding timestamps to org-roam notes
*planted: 24/07/2021last tended: 27/11/2021
1. Adding timestamps at note creation
From Zaeph's config, include this in your capture template:
:head "#+TITLE: ${title}\n#+CREATED: %U\n#+LAST_MODIFIED: %U\n\n"
2. Modifying timestamps on save
I would prefer to do this on org-roam files only. See Update a field (#+LASTMODIFIED: ) at save - How To - Org-roam.
Didn't work for me straight off though.
(setq time-stamp-active t time-stamp-start "#\\+LAST_MODIFIED:[ \t]*" time-stamp-end "$" time-stamp-format "\[%04y-%02m-%02d %3a %02H:%02M\]") (add-hook 'before-save-hook 'time-stamp nil)
3. Elsewhere
3.1. In my garden
Notes that link to this note (AKA backlinks).