Skip to main content

r:if_articles

This tag displays its contents if the blog has at least one article.

Example:

<r:if_articles>
    <!-- This is the blog content -->
</r:if_articles>

This tag displays its contents if the blog has at least one article.

Example:

{% assign articles = blog.articles %}
{% if articles.length > 0 %}
  <p>There is at least one blog post!</p>
{% else %}
  <p>No blog posts found. Try again later, perhaps?</p>
{% endif %}

Last updated on March 15, 2021.

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • A link to the page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?

Kindly email CleanSlate@mail.wvu.edu for help or use the form on the request help page.