Add header for the list of posts on the “view Sone” page.
[Sone.git] / src / main / resources / templates / viewSone.html
index 292ab44..a9b0a21 100644 (file)
 
        <%else>
 
-               <%include include/viewSone.html>
+               <%if ! sone.current>
+                       <%include include/viewSone.html>
+               <%/if>
 
                <div id="posts">
                        <%foreach sone.posts post>
+                               <%first>
+                                       <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
+                               <%/first>
                                <%include include/viewPost.html>
                        <%foreachelse>
                                <div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>