example/tmpl/inline.template

Sun, 06 Sep 2020 22:29:08 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 06 Sep 2020 22:29:08 +0300
changeset 36
6e3c3dd86b2f
parent 10
118ab361da29
permissions
-rw-r--r--

enable markdown-it-checkbox

10
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1 <% for _, inlinepage in ipairs(inlinepages) do %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
2 <div class="inlinepage">
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 <div class="posted-header">
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 <%= inlinepage.meta.created_at %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 </div>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6 <h2><a href="<%= inlinepage.location %>"><%= inlinepage.meta.title %></a></h2>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 <%= inlinepage.content %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8 </div>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 <% end %>

mercurial