Login
·
Signup
Home
»
XtGem
»
Questions about service
»
please add function random for blog
» View post
Graham
tiaxgame
I have added it like this to the top of {% block entries_list %}
I gave it it's own div and class
{% block entries_list %} <div class="xt_blog_post_list"> {% for entry in data.entries %} <div class="xt_item"> {% if entry.tags is not empty %} <div class="xt_tags"> {% for tag in entry.tags %} <a href="{{ tag.url }}">{{ tag.name }}</a> {% if not loop.last %}, {% endif %} {% endfor %} </div> {% endif %}
Don't forget to add
include_tags_in_post_list="1"
to your blogs xtfunction
#
2014-07-21 02:08 (edited 2014-07-21 02:12 by
Graham
) ·
(2)
Home
»
XtGem
»
Questions about service
»
please add function random for blog
» View post
Online: Guests: 1
Log in