<div xmlns:py="http://genshi.edgewall.org/" py:def="blogadminmenu" py:strip="">
    <div id="wphead"><h1>${blog.name} <span>(<a href="${blog.link()}">View site &raquo;</a>)</span></h1></div>
    <!--! <div id="user_info"><p>Howdy, <strong>${tg.identity.user.display_name}</strong>. [<a href="/logout" title="Log out of this account">Sign Out</a>, <a href="${std.identity.user.link()}">My Account</a>] </p></div> -->
  <ul id="adminmenu">
      <li py:if="admincheck(can_admin)"><a href="/blog/admin">Site Dashboard</a></li>
      <li><a href="/blog/blog_admin?bid=${blog.id}">Blog Dashboard</a></li>
      <li><a href="/blog/blog_admin/write?bid=${blog.id}">Write</a></li>
      <li><a href="/blog/blog_admin/manage?bid=${blog.id}">Manage</a></li>
      <li><a href="/blog/blog_admin/settings?bid=${blog.id}">Settings</a></li>
    </ul>
</div>
