title: How can I hide a Tumblr sidebar widget from pages?
body: <p>I've added a widget to my Tumblr sidebar and I don't want it to show on Ask and other custom pages.</p>
  
  <p>I used the following code</p>
  
  <pre>{block:PermalinkPagination}
     ...code...
  {/block:PermalinkPagination}</pre>
  
  <p>It didn't work.</p>
  
  <p>I've tried wrapping between these codes as well.</p>
  
  <pre>{block:HasPages}
     ...code...
  {/block:HasPages}</pre>
  
  <pre>{block:Pages}
     ...code...
  {/block:Pages}</pre>
  
  <pre>{block:Date}
     ...code...
  {/block:Date}</pre>
  
  <p>but it's still showing up on the pages. I'd like to remove the widget on Ask and other static pages. Is that possible?</p>