diff --git a/index.org b/index.org index 2f3fe0a..ca8f8cd 100644 --- a/index.org +++ b/index.org @@ -95,3 +95,21 @@ A collection of entry points to various interests and ideas. - [[id:a54fc4a6-4496-4f99-9c9d-c85481b65452][The Phoenix Inquisitor]] - [[id:5dddbae0-ddc1-4fa8-b824-113731ca9d64][Being transgender]] - [[id:ca88b99d-cc12-4595-ba14-c567db34d3b6][OpenAPI Core]] + +* Recently updated notes +#+name: recently-updated +#+begin_src emacs-lisp :results list :exports results :eval export + (seq-map + (lambda (row) + (let ((id (nth 0 row)) + (title (nth 1 row))) + (org-link-make-string (concat "id:" id) title))) + (org-roam-db-query + [:select [nodes:id, nodes:title] + :from nodes + :join files :on (= nodes:file files:file) + :where (= nodes:level 0) + :group-by [nodes:id, nodes.title] + :order-by files:mtime :desc + :limit 15])) +#+end_src