Skip to content
Discussion options

You must be logged in to vote

I think that the issue is that the 'grid' isn't a per page option - there is a shared grid for the entire website. When it is placed on a page like this and served with the preview server, the local, individual page render will override the grid and appear fine in the preview (it's basically 'last page wins'). When rendered or deployed, however, it will use a shared grid definition provided by the site (from the website key).

If you have other pages that use the grid layout (and so don't want to set the sizes globally to 0px), you can use article layout to position the listing across the columns, like:

---
title: The Gilpatrick
listing:
  id: posts
  page-size: 6
  contents: posts
  sort:…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@thegilpatrick
Comment options

@cscheid
Comment options

@jjallaire
Comment options

@dragonstyle
Comment options

Answer selected by thegilpatrick
@dragonstyle
Comment options

@thegilpatrick
Comment options

@thegilpatrick
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js)
4 participants