diff options
author | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
commit | 94d2fc1815a919734353c942f224db1de4b4fcb8 (patch) | |
tree | 4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/nutshell.mako | |
parent | d0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff) | |
download | dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip |
Django, org
* Added nxhtml, mostly for django support.
* Changed some org settings.
Diffstat (limited to 'emacs.d/nxhtml/tests/in/nutshell.mako')
-rw-r--r-- | emacs.d/nxhtml/tests/in/nutshell.mako | 27 |
1 files changed, 27 insertions, 0 deletions
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 +<table> + ## This is a comment. + % for row in rows: + ${makerow(row)} + % endfor +</table> + +<%def name="makerow(row)"> + <tr> + % for name in row: + <td>${name}</td>\ + % endfor + </tr> +</%def> +<%doc> +This should be a comment too... +</%doc> |