Mon, 06 Jul 2020 12:19:21 -0500
Only parse metadata if starts on first line
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 | <p class="archivedpage"> |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
3 | <span class="posted"> |
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 | </span> |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
6 | <a href="<%= inlinepage.location %>"><%= inlinepage.meta.title %></a> |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
7 | </p> |
118ab361da29
Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
|
8 | <% end %> |