]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/blogs/blogs-common.xml
e809c0e7f5bba6c5f438e108a50783d15d61dfe4
[factor.git] / extra / webapps / blogs / blogs-common.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:atom t:href="$blogs/posts.atom">Recent Posts</t:atom>
6
7         <t:style t:include="resource:extra/webapps/blogs/blogs.css" />
8
9         <div class="navbar">
10
11                   <t:a t:href="$blogs/">All Posts</t:a>
12                 | <t:a t:href="$blogs/by">My Posts</t:a>
13                 | <t:a t:href="$blogs/new-post">New Post</t:a>
14
15                 <t:if t:code="furnace.auth:logged-in?">
16
17                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
18                                 | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
19                         </t:if>
20
21                         | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
22
23                 </t:if>
24
25         </div>
26
27         <h1><t:write-title /></h1>
28
29         <t:call-next-template />
30
31 </t:chloe>