【发布时间】:2014-01-29 06:28:24
【问题描述】:
所以我在logout.html 中有以下 HTML:
<form id="log_out" name="log_out" action="/log_out" method="post">
<input type="submit"
value="Log Out!">
</input>
</form>
看起来我需要一些函数来读取logout.html 作为活跃节点(至少我认为wrap 需要节点;我实际上不确定)。
(html/defsnippet nav "templates/nav.html" [:ul]
[]
[:ul] (html/append
(html/wrap :li (html/SOME-FUNCTION-IDK "templates/logout.html"))))
【问题讨论】: