Armed with a text editor

mu's views on program and recipe! design

<div class="menu">
  <h3><a href="`manager.site + '/blog'`">Posts</a></h3>
  `manager.format_template('blog_calendar', globals())`
  <h3>Links</h3>
  <ul>
    <li><a href="`manager.site + '/wiki/WikiMarkup'`">Wiki Markup</a></li>
    <li><a href="`manager.site + '/blog'`">Blog Posts</a>
    <a href="`manager.site`/blog?atom"><img src="`manager.site`/image/feed-10.png"/></a></li>
    <li><a href="`manager.site + '/recent/blog'`">Blog Changes</a></li>
#if manager.isadmin:
    <li><a href="`manager.site + '/blog/draft'`">Blog Drafts</a></li>
#pass
    <li><a href="`manager.site + '/recent'`">Recent Changes</a></li>
  </ul>
#if manager.isadmin:
  <h3>Actions</h3>
  <a href="?edit">Edit</a>
  <a href="?delete">Delete</a>
#    if manager.document.startswith('/blog/draft'):
  <a href="?publish">Publish</a>
#    elif manager.document.startswith('/blog/20'):
  <a href="?pingback">Ping</a>
#pass
</div>