example/tmpl/inline.template

changeset 10
118ab361da29
equal deleted inserted replaced
9:751216807683 10:118ab361da29
1 <% for _, inlinepage in ipairs(inlinepages) do %>
2 <div class="inlinepage">
3 <div class="posted-header">
4 <%= inlinepage.meta.created_at %>
5 </div>
6 <h2><a href="<%= inlinepage.location %>"><%= inlinepage.meta.title %></a></h2>
7 <%= inlinepage.content %>
8 </div>
9 <% end %>

mercurial