djula

https://github.com/mmontone/djula.git

git clone 'https://github.com/mmontone/djula.git'

(ql:quickload :djula)
27

Djula

Build Status

Djula is a port of Python's Django template engine to Common Lisp.

Nutshell

Here a small example of a template::


    {% extends "base.html" %}
    {% block title %}Memberlist{% endblock %}
    {% block content %}
      <ul>
      {% for user in users %}
        <li><a href="{{ user.url }}">{{ user.username }}</a></li>
      {% endfor %}
      </ul>
    {% endblock %}

Philosophy

Application logic is for the controller but don't try to make the life for the template designer too hard by giving him too few functionality.

For more information visit the new Djula webpage and documentation.