Skip to content

Instantly share code, notes, and snippets.

@wvuwebgist
Created March 19, 2018 15:43
Show Gist options
  • Save wvuwebgist/d0d245df0db3ff5603fb414e77786741 to your computer and use it in GitHub Desktop.
Save wvuwebgist/d0d245df0db3ff5603fb414e77786741 to your computer and use it in GitHub Desktop.
CleanSlate: Pull a feed from your blog while excluding certain labels.
<r:blog id="1234"> <!-- Change this to your blog's ID. -->
<r:articles limit="5" tags_op="none" tags="dont-show-stuff-with-this-label" >
<r:if_articles>
<ul>
<r:each>
<li><a href="<r:article:path />"><r:article:name /></a></li>
</r:each>
</ul>
</r:if_articles>
<r:if_no_articles>
<p>No blog posts found. Please try again at a later date or email the owner of this site.</p>
</r:if_no_articles>
</r:articles>
</r:blog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment