example/tmpl/inline.template

Wed, 17 Jan 2018 18:14:57 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 17 Jan 2018 18:14:57 +0000
changeset 14
bbf5bbd72f48
parent 10
118ab361da29
permissions
-rw-r--r--

Improved CSS for different display sizes

<% for _, inlinepage in ipairs(inlinepages) do %>
<div class="inlinepage">
  <div class="posted-header">
  <%= inlinepage.meta.created_at %>
  </div>
  <h2><a href="<%= inlinepage.location %>"><%= inlinepage.meta.title %></a></h2>
  <%= inlinepage.content %>
</div>
<% end %>

mercurial