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 1841c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion weblorg.el
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Parameters in ~OPTIONS~:
item of a collection returned by `:input-aggregate'.
* *:url* Similarly to the `:output' parameter, it takes a
template string as input and returns the URL of an entr--y of a
template string as input and returns the URL of an entry of a
given entry in this route.
* *:template* Name of the template that should be used to render
Expand Down

0 comments on commit 1841c3a

Please sign in to comment.