example/tmpl/inline_list.template

changeset 10
118ab361da29
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example/tmpl/inline_list.template	Tue Jan 16 17:13:40 2018 +0000
@@ -0,0 +1,8 @@
+<% 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 %>

mercurial