Edit

kmx.io/cl-embed

Branch :

  • Properties
  • Git HTTP https://git.kmx.io/kmx.io/cl-embed.git
    Git SSH git@git.kmx.io:kmx.io/cl-embed.git
    Public ? true
    Name
    Description

    ERB-style template engine for Common Lisp.

    Users thodg
    Tags

  • README.md
  • cl-embed v0.1

    ERB-style template engine for Common Lisp.

    Usage

    Example template with Common Lisp code embedding :

    <!doctype html>
    <html>
      <head>
        <title><%= title %></title>
      </head>
      <body>
        <h1><%= title %></h1>
        <ul>
          <%= (mapcar (lambda (item) %>
          <li>
            <%= item %>
          </li>
          <%= ) items-list) %>
        </ul>
      </body>
    </html>