example/tmpl/inline.template

Mon, 06 Jul 2020 12:51:11 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 06 Jul 2020 12:51:11 -0500
changeset 27
8f40424fb02e
parent 10
118ab361da29
permissions
-rw-r--r--

Attempt markdown-it-texmath instead of markdown-it-katex.

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