X-Git-Url: http://git.veekun.com/zzz-spline-forum.git/blobdiff_plain/032e2a68113050308307f3a36832ee47290f7dbe..00a935f38530f3fb12fc1f0d949b00f4fa663e9b:/splinext/forum/templates/forum/posts.mako diff --git a/splinext/forum/templates/forum/posts.mako b/splinext/forum/templates/forum/posts.mako index e4d3ffc..24dd875 100644 --- a/splinext/forum/templates/forum/posts.mako +++ b/splinext/forum/templates/forum/posts.mako @@ -1,6 +1,19 @@ <%inherit file="/base.mako" /> -<%def name="title()">${c.thread.subject} - ${c.thread.forum.name} - Forums%def> +<%def name="title()">${c.thread.subject} - Forums%def> + +<%def name="title_in_page()"> +
+%def> + +% if c.thread.post_count == 0: +Something terribly bogus has happened; this thread has no posts.
+<% return %> +% endif