Developers

Configuring the element template

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Element example</title>
  </head>

  <body>
    <h1>{% editable element.title %}</h1>
    <div class=”author”>{% editable element.author %}</div>
    <div class=”isbn”>{% editable element.isbn %}</div>
    <div class=”photo”>{% editable element.cover_photo %}</div>
    <div class="genre">{% editable element.genre %}</div>
    <div class="description">{% editable element.description %}</div>
    {% sitejs_include %}
  </body>
</html>