Collections in GAX - Crow Legion System

How content/blog.md with collection: blog creates pagination automatically.

# golang # gax # collections

Collections in GAX - Crow Legion System

15 Aug 2026

In GAX, collection is legion.

Create content/blog.md:


---
collection: blog
layout: layouts/collection.gax
pagination: 6
---

Every file in content/blog/*.md automatically becomes cols[blog].

In template:


{% for post in pagination.items %}
  {{post.title}}
{% endfor %}
Prev
Next

Pagination, prev/next post, all auto. No config.


GAX GO Static Site Generator Built with GAX