From 94d2fc1815a919734353c942f224db1de4b4fcb8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:04:49 +0100 Subject: Django, org * Added nxhtml, mostly for django support. * Changed some org settings. --- emacs.d/nxhtml/tests/in/nutshell.mako | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 emacs.d/nxhtml/tests/in/nutshell.mako (limited to 'emacs.d/nxhtml/tests/in/nutshell.mako') diff --git a/emacs.d/nxhtml/tests/in/nutshell.mako b/emacs.d/nxhtml/tests/in/nutshell.mako new file mode 100644 index 0000000..3c7540e --- /dev/null +++ b/emacs.d/nxhtml/tests/in/nutshell.mako @@ -0,0 +1,27 @@ + % for row in rows: +<%inherit file="base.html"/> + +<% + rows = [[v for v in range(0,10)] for row in range(0,10)] +%> +<%! + rows = [[v for v in range(0,10)] for row in range(0,10)] +%> +aaa + + ## This is a comment. + % for row in rows: + ${makerow(row)} + % endfor +
+ +<%def name="makerow(row)"> + + % for name in row: + ${name}\ + % endfor + + +<%doc> +This should be a comment too... + -- cgit v1.2.3-54-g00ecf