Graham
Inu it translates as "TWIG code for a random post on xtblog"
if you wish to show ONE random post instead of the list
in the blog twig block
{% block entries_list %}
remove the line
{% for entry in data.entries %}
and replace it with
{%set entry=data.entries[(random(data.entries|length-1))] %}
Copy code
and remove the corresponding
{% endif %}
you will need to set your blog function to
entries_per_page="0" to use the whole post list
As this is set in the twig ALL blog functions on the site will be affected the same
This is where I have tested it
http://blogtwig.xtgem.com/blag