example/tmpl/inline.template@118ab361da29
example/tmpl/inline.template
Tue, 16 Jan 2018 17:13:40 +0000
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Tue, 16 Jan 2018 17:13:40 +0000
- changeset 10
- 118ab361da29
- permissions
- -rw-r--r--
Added an example website based on http://tuomov.iki.fi/
<% 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 %>