Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for allnew in allnews.allcate1news %}
- <div class="col-sm-4">
- <p class="text-center opacity">
- {% with allnew.header_image.url as image_static %}
- <img width="370" height="185" alt="" src="{% static image_static %}" />
- {% endwith %}
- </p>
- <h4>
- {% with '/page/'|add:allnew.id as itemid %}
- {{itemid}}
- {% endwith %}
- <a class="black" href="#">{{allnew.title}}</a>
- </h4>
- <p>{{allnew.sub_title}}</p>
- <div class="meta top-pad-10">
- <!-- Meta Date -->
- <span class="time">{{allnew.created_date}}</span>
- <span class="pull-right">
- <i class=" icon-comment2"></i>
- <a href="#">3 comment(s)</a></span></div>
- </div>
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement