seam

Personal wiki toolkit for Emacs
Log | Files | Refs | LICENSE

commit fe7f74c879ce00da27c58e96c3bedd9eb340fbf7
parent 81e1397f3a4e0ff8daa5e85f88fb69e87d5bd9d9
Author: Spencer Williams <spnw@plexwave.org>
Date:   Wed, 16 Jul 2025 20:03:24 -0400

Add slug template var

Diffstat:
Mlisp/seam-export.el | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/lisp/seam-export.el b/lisp/seam-export.el @@ -181,6 +181,10 @@ interpolate it as-is. The note's title, in an HTML format suitable for an <h1> tag. + `slug' + + The note's slug (that is, its filename without any extension). + `backlinks' A list (<ul>) of notes that link to the given note. @@ -366,6 +370,8 @@ Gregorian date Sunday, December 31, 1 BC." ("raw-title" . ,(seam-export--org-to-html (seam-get-title-from-file note-file))) + ("slug" . + ,(seam-get-slug-from-file-name note-file)) ("created" . ,(format-time-string seam-export--time-format