hy/site/templates/index.html

27 lines
617 B
HTML
Raw Normal View History

2013-03-10 04:54:29 +01:00
{% extends "base.html" %}
{% block title %}Welcome!{% endblock %}
{% block content %}
2013-03-10 17:59:16 +01:00
2013-03-10 20:17:16 +01:00
{# {% autoescape off %}{% code "clojure" %}
2013-03-10 17:59:16 +01:00
(print "foo bar")
2013-03-10 20:17:16 +01:00
{% endcode %}{% endautoescape %} #}
2013-03-10 20:30:49 +01:00
<div id = 'popshim' >
<div class = 'popover' >
<div class = 'focus' >
2013-03-10 20:17:16 +01:00
<div class = 'repl' >
2013-03-10 20:39:27 +01:00
<textarea id = 'repl-input' class = 'repl-pane repl-left' >
(defn hello-world [who] (print (.join ", " ["Hello" who])))
(hello-world "Paul")
; Hello, Paul!
2013-03-10 20:17:16 +01:00
</textarea>
2013-03-10 20:30:49 +01:00
<pre id = 'repl-output' class = 'repl-pane repl-right' ></pre>
</div>
</div>
</div>
2013-03-10 17:59:16 +01:00
2013-03-10 04:54:29 +01:00
{% endblock %}