だから私は次のHTMLを持っていますlogout.html
:
<form id="log_out" name="log_out" action="/log_out" method="post">
<input type="submit"
value="Log Out!">
</input>
</form>
enlive ノードとして読み取る関数が必要なようですlogout.html
(少なくともノードが必要だと思いますwrap
が、実際にはわかりません)。
(html/defsnippet nav "templates/nav.html" [:ul]
[]
[:ul] (html/append
(html/wrap :li (html/SOME-FUNCTION-IDK "templates/logout.html"))))