Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection Layout not working #121

Closed
thatvirtualboy opened this issue Mar 13, 2020 · 1 comment
Closed

Collection Layout not working #121

thatvirtualboy opened this issue Mar 13, 2020 · 1 comment

Comments

@thatvirtualboy
Copy link

I've created collection page called menu.markdown with front matter:

---
title: Release Menu
layout: collection
permalink: /releasemenu/
collection: releasemenu
entries_layout: grid
image: /assets/images/release-menu.png
---

I've added collection: releasemenu to a number of posts but they aren't showing up on menu.markdown

I've even added them into their own _releasemenu folder like your _recipe example, but the posts aren't showing up on the page. Any ideas?

@thatvirtualboy
Copy link
Author

Resolved. Didn't realize the _config.yml needed (requirement missing from the Collection documentation).

collections:
  releasemenu:
    output: true
    permalink: /:collection/:path/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant