example/tmpl/inline_atom.template

Wed, 15 Dec 2021 10:37:47 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 15 Dec 2021 10:37:47 +0200
changeset 41
8040d3a298e4
parent 10
118ab361da29
permissions
-rw-r--r--

Add ANTI-ABUSE LICENSE

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 <entry>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 <title type="html"><%= inlinepage.meta.title %></title>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 <% if inlinepage.meta.author then %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 <author>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6 <name><%= inlinepage.meta.author %></name>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 <uri><%= inlinepage.meta.author_url %></uri>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8 </author>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 <% end %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10 <link href="<%= inlinepage.location %>" rel="alternate" />
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 <id><%= inlinepage.location %></id>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12 <% if inlinepage.meta.modified_at then %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 <updated><%= inlinepage.meta.modified_at %></updated>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14 <% end %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 <% if inlinepage.meta.created_at then %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 <published><%= inlinepage.meta.created_at %></published>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
17 <% end %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 <content type="xhtml">
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
19 <div xmlns="http://www.w3.org/1999/xhtml"><%= inlinepage.content %></div>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
20 </content>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
21 </entry>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
22 <% end %>
118ab361da29 Added an example website based on http://tuomov.iki.fi/
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
23

mercurial