Sun, 06 Sep 2020 22:12:52 +0300
Don't auto-create directories that will be empty
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 %> |