<div class="container">
      <div class="post-heading">
              <h3>Recent Posts</h3>
      </div>
      <div class="row">
        <ul class="portfolio-area da-thumbs">
          {% for post in most_recent %}
          <li class="portfolio-item" data-id="id-0" data-type="web">
            <div class="span3">
              <div class="thumbnail">
                <div class="image-wrapp">
                  <img src="{{ post.full_thumbnail.url }}" alt="Portfolio name" title="" />
                  {% if request.user.is_authenticated %}
                  <article class="da-animate da-slideFromRight">

                    <a href="{{ post.get_absolute_url }}">
              <i class="icon-bg-light icon-link icon-circled icon-2x"></i>
              </a>
                  </article>
                  {% else %}
                  <article class="da-animate da-slideFromRight">

                    <a href="{% url 'login' %}">
              <i class="icon-bg-light icon-link icon-circled icon-2x"></i>
              </a>
                  </article>
                  {% endif %}

                </div>
                <div class="desc">
                  <h5><i class="icon-file"></i> <strong>{{ post.title }}</strong></h5>
                  <p>{{ post.timestamp|timesince}} ago</p>
                </div>
              </div>

            </div>
          </li>
          {% endfor %}
        </ul>

      </div>

    </div>
