example/tmpl/inline_list.template@0ea4b0786b43
example/tmpl/inline_list.template
Mon, 06 Jul 2020 12:19:21 -0500
- author
- Tuomo Valkonen <tuomov@iki.fi>
- date
- Mon, 06 Jul 2020 12:19:21 -0500
- changeset 23
- 0ea4b0786b43
- parent 10
-
118ab361da29
- permissions
- -rw-r--r--
Only parse metadata if starts on first line
<% for _, inlinepage in ipairs(inlinepages) do %>
<p class="archivedpage">
<span class="posted">
<%= inlinepage.meta.created_at %>
</span>
<a href="<%= inlinepage.location %>"><%= inlinepage.meta.title %></a>
</p>
<% end %>