{% load wagtailcore_tags wagtailimages_tags static core_tags tip_tags el_pagination_tags i18n likes_inclusion_tags %}
{% block content %}
  {% your_tips_breadcrumbs active_breadcrumb_title='Popular Tips' %}
    <h1 class="heading heading--yourtips">{{ recent_tips_page.title }}</h1>
  <h3>{{ recent_tips_page.subtitle }}</h3>
  {% paginate 15 object_list as articles %}
  <ol>
    {% for each_article in articles %}
      <li>
        <div class="posted_date">
          Posted: {{ each_article.latest_revision_created_at }}
        </div>
        <div class="content">
          {{ each_article.body }}
        </div>
        {% likes each_article %}
      </li>
    {% endfor %}
  </ol>
  <a href="{% url 'molo.yourtips:tip_entry' your_tip_page_slug %}" class="call-to-action">
    {% trans "Submit a Tip" %}
  </a>
   {% show_more 'See more Tips' %}
{% endblock %}
