Static GitHub Issues

[101] Loop over pages

prev: This is a postcss css, how do I support in nuxt?
next: Vuex store on the issue of more pages

Apologies if this is documented somewhere. I am looking into whether I should replace my Jekyll site for Nuxt, is there a way to loop over pages?

E.g Jekyll has

{% for post in site.posts %}
    {{ post.title }}
{% endif %}

It would be nice if Nuxt had something similar, and if a page could expose meta data, e.g.

<script>
export default {
    meta: {
        title: 'Hello World'
    }
}
</script>

Thanks.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c83">#c83</a>)</em></sub></div>