title: Is there a tumblr block to check if there are posts, like HasPages?
body: <p>A tumblr theme I'm developing initially will not have any blog posts and mainly consists of static content. </p>
  
  <p>Is there a block like <code>{block:HasPages}</code> that I can wrap around all my post code to stop it rendering if there are no posts on the blog please?</p>
  
  <p>The reason I need this is because I'm wrapping the posts in a tag with styling I don't want to be shown until there are actually posts on the page.</p>
  
  <pre><code>&lt;ul id="posts"&gt;
      {block:Posts}
          &lt;li class="post group" .....
  </code></pre>
  
  <p>The UL with ID posts has styling that isnt wanted when there are no posts. If there is no <code>{block:HasPosts}</code> block, does anyone know how to combat this issue please?</p>