hy/site/templates/index.html

25 lines
556 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 %} #}
<div class = 'repl' >
<textarea id = 'repl-input' class = 'repl-pane repl-left' >
(defn square [x]
(* x x))
(print (square 4))
</textarea>
<pre
id = 'repl-output'
class = 'repl-pane repl-right'
></pre>
</div>
2013-03-10 17:59:16 +01:00
2013-03-10 04:54:29 +01:00
{% endblock %}