| |
1 <% for _, inlinepage in ipairs(inlinepages) do %> |
| |
2 <entry> |
| |
3 <title type="html"><%= inlinepage.meta.title %></title> |
| |
4 <% if inlinepage.meta.author then %> |
| |
5 <author> |
| |
6 <name><%= inlinepage.meta.author %></name> |
| |
7 <uri><%= inlinepage.meta.author_url %></uri> |
| |
8 </author> |
| |
9 <% end %> |
| |
10 <link href="<%= inlinepage.location %>" rel="alternate" /> |
| |
11 <id><%= inlinepage.location %></id> |
| |
12 <% if inlinepage.meta.modified_at then %> |
| |
13 <updated><%= inlinepage.meta.modified_at %></updated> |
| |
14 <% end %> |
| |
15 <% if inlinepage.meta.created_at then %> |
| |
16 <published><%= inlinepage.meta.created_at %></published> |
| |
17 <% end %> |
| |
18 <content type="xhtml"> |
| |
19 <div xmlns="http://www.w3.org/1999/xhtml"><%= inlinepage.content %></div> |
| |
20 </content> |
| |
21 </entry> |
| |
22 <% end %> |
| |
23 |