X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/6f911f1082bdbae4a879ae89388d03d076187dd4..7e8d72151230cb14fd8b9dbbaa7f309120ed2721:/haunt.scm diff --git a/haunt.scm b/haunt.scm index 7a225a9..30293b1 100644 --- a/haunt.scm +++ b/haunt.scm @@ -428,6 +428,15 @@ "Homework 10"))) "2019")) +(module-define! + (resolve-module '(haunt builder blog)) + 'render-post + (lambda (theme site post) + (let ((title (post-ref post 'title)) + (body ((theme-post-template theme) post)) + (copy (post-ref post 'copyright))) + (base-layout site body #:title title #:copy copy)))) + (site #:title "Amin Bandali" ;; TODO: uncomment after new haunt release ;; #:scheme my-scheme