Handle untitled posts better in the weekly blog post.

This commit is contained in:
Nelson Elhage 2010-01-26 10:57:32 -05:00
parent 6728e758ac
commit 80051bb9c8
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<li><b>${u.username}:</b> <li><b>${u.username}:</b>
<ul> <ul>
% for p in u.weeks[week]: % for p in u.weeks[week]:
<li><a href="${p['url']}">${p['title']}</a></li> <li><a href="${p['url']}">${p['title'] or "[untitled post]"}</a></li>
% endfor % endfor
</ul> </ul>
</li> </li>