example/tmpl/inline.template

Wed, 08 Dec 2021 23:32:16 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 08 Dec 2021 23:32:16 +0200
changeset 40
458b3ce6e2f2
parent 10
118ab361da29
permissions
-rw-r--r--

highlight.js changes update

<% 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 %>

mercurial