a html templating engine for scheme
#usage
-
raven install knight
(import (knight knight))
(render "<%= hello %> -- <%- hello %> -- <%# note %>"
'((hello . "<world>")))
;; or
(render-file "demo.html" '((hello . "<world>")))
- you can include file by
<% include "header.html" %> ;or
<% include "header" %> ;or
<% include header %>
- change default template suffix "ejs"
(set-template-suffix! suffix)
- change default template path "."
(set-template-path! path)