API

Djula external symbols documentation

function (compile-template* name)

Compiles template NAME with compiler in CURRENT-COMPILER

function (url-encode string)

URL-encodes a string using the external format EXTERNAL-FORMAT.

variable *current-store*

The currently in-use template store. Defaults to a FILE-STORE.

variable *allow-include-roots*
variable *current-compiler*
variable *fancy-debug-p*

When enabled, displays fancy html based debugging information for the {% debug %} tag

variable *djula-execute-package*
function (fetch-template* key)

Return the text of a template fetched from the CURRENT-STORE.

function (url-encode-path path)
function (url-decode)
macro (def-tag-compiler name args &body body)
function (find-template* name &optional (error-p t))
variable *fancy-error-template-p*

When enabled, show a fancy template when an error ocurrs

variable *default-language*
function (render-template* template &optional stream &rest *template-arguments*)

Render TEMPLATE into STREAM passing TEMPLATE-ARGUMENTS

function (add-template-directory directory &optional (template-store *current-store*))

Adds DIRECTORY to the search path of the TEMPLATE-STORE

variable *catch-template-errors-p*

When enabled, caught errors during the rendering of the template are written to the output instead of being handled by the lisp listener

variable *current-language*
variable *verbose-errors-p*

When enabled, errors are displayed more verbosely. Good for debugging