r:if_no_articles
This tag displays its content only if a blog doesn't have any articles.
Example:
<r:if_no_articles>
<!-- This content only displays if there aren't any articles -->
</r:if_no_articles>
This tag displays its content only if a blog doesn't have any articles.
Example:
{% assign articles = blog.articles %}
{% if articles.length == 0 %}
<p>No blog posts found. Try again later, perhaps?</p>
{% endif %}
Last updated on February 16, 2022.
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.