Official response from Matthew Pancione
The following code will display a paginated stream of the most recent public activities occurring in your nation:
{% for activity in site.activities %}
<div class="activity">
{{ activity.show }}
</div>
{% endfor %}
If you want to limit the stream to say, the latest 5 activities, you can modify the code as shown:
{% for activity in site.activities limit:5 %}
<div class="activity">
{{ activity.show }}
</div>
{% endfor %}
Share this post
Showing 8 reactions
Sign in with
{% for activity in site.activities limit:5 }
<div class=““activity””>
{{ activity.show }}
</div>
{ endfor %}
{% for activity in site.activities limit:5 }
<div class=“activity”>
{{ activity.show }}
</div>
{ endfor %}