Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmontone/djula
Common Lisp port of the Django templating language
https://github.com/mmontone/djula
common-lisp html-template lisp template-engine
Last synced: 2 months ago
JSON representation
Common Lisp port of the Django templating language
- Host: GitHub
- URL: https://github.com/mmontone/djula
- Owner: mmontone
- License: mit
- Fork: true (nallen05/djula)
- Created: 2014-06-02T15:01:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-11T13:49:42.000Z (6 months ago)
- Last Synced: 2024-08-01T03:41:01.858Z (5 months ago)
- Topics: common-lisp, html-template, lisp, template-engine
- Language: Common Lisp
- Homepage: http://mmontone.github.io/djula/djula
- Size: 4.05 MB
- Stars: 147
- Watchers: 9
- Forks: 21
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# Djula
[![Build Status](https://travis-ci.org/mmontone/djula.svg?branch=master)](https://travis-ci.org/mmontone/djula)
[![Quicklisp](http://quickdocs.org/badge/djula.svg)](http://quickdocs.org/djula/)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)Djula is a port of Python's [Django](http://www.djangoproject.com) template engine to Common Lisp.
## Nutshell
Here a small example of a template::
```HTML+Django
{% extends "base.html" %}
{% block title %}Memberlist{% endblock %}
{% block content %}
- {{ user.username }}
{% for user in users %}
{% endfor %}
{% 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 [documentation page](http://mmontone.github.io/djula/djula/).