]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/blogs/blogs-common.xml
1beddd68463eabbaf7a785594192c4b6530734e0
[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         <div class="navrow">
11
12                 <t:a t:href="$blogs/">All Posts</t:a>
13                 <t:a t:href="$blogs/by">My Posts</t:a>
14                 <t:a t:href="$blogs/new-post">New Post</t:a>
15
16                 <t:if t:code="furnace.auth:logged-in?">
17
18                         <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
19                                 <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
20                         </t:if>
21
22                         <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
23
24                 </t:if>
25
26         </div>
27         </div>
28
29         <div class="page">
30         <h1><t:write-title /></h1>
31
32         <t:call-next-template />
33         </div>
34
35 </t:chloe>