hy/site/templates/index.html
2013-03-10 15:39:27 -04:00

29 lines
676 B
HTML

{% extends "base.html" %}
{% block title %}Welcome!{% endblock %}
{% block content %}
{# {% autoescape off %}{% code "clojure" %}
(print "foo bar")
{% endcode %}{% endautoescape %} #}
<div id = 'popshim' >
<div class = 'popover' >
<div class = 'focus' >
<div class = 'repl' >
<textarea id = 'repl-input' class = 'repl-pane repl-left' >
; This is an example of some of the things that Hy can do
(defn hello-world [who] (print (.join ", " ["Hello" who])))
(hello-world "Paul")
; Hello, Paul!
</textarea>
<pre id = 'repl-output' class = 'repl-pane repl-right' ></pre>
</div>
</div>
</div>
{% endblock %}