Add a recently updated section
This commit is contained in:
parent
8fdcf60c7b
commit
53ae418c30
1 changed files with 18 additions and 0 deletions
18
index.org
18
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
|
||||
|
|
Loading…
Reference in a new issue