Skip to content

Commit

Permalink
Clarify how to make use of filtering in example
Browse files Browse the repository at this point in the history
  • Loading branch information
nanzhong committed Dec 28, 2023
1 parent 7e3cfb5 commit e67f461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/org-roam/publish.el
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
(let* ((site (weblorg-site
:default-route "org-nodes"
:theme nil))
;; We only want to publish org-roam nodes with the public filetag.
(org-roam-nodes-filter (lambda (node)
(member "public" (org-roam-node-tags node)))))
(weblorg-route
Expand Down

0 comments on commit e67f461

Please sign in to comment.