Skip to content
Discussion options

You must be logged in to vote

I'd have to try recreating this locally, but I think what's happening is that your pagination for the homepage looks like this:

---
pagination:
    data: valhalla.homepage
    size: 1
    alias: homepage
layout: base
permalink: "/"
---

And the valhalla.homepage is presumably an object (instead of an array of objects), so it's trying to loop over each item/property in the object and creating a new page from that, and using the same / permalink for each page.

{
  homepage: {
    /* 1 */  domain: '[somecooldomain.com](http://somecooldomain.com/)',
    /* 2 */  uploadcare_public_key: undefined,
    /* 3 */  is_development: true,
    /* 4 */  facebook_domain_verification_id: null,
    /* 5 */  f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@madsem
Comment options

Answer selected by madsem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants