Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Add option to bundle collection into html #98

Closed
wants to merge 1 commit into from

Conversation

thangngoc89
Copy link
Contributor

This PR add an option to bundle collection to html

ref #92 #96

Usage:

// index.md

---
layout: Homepage
title: Home page
collection: true

---

I'm replying on Travis for test right now, because ava freezes my laptop

@MoOx
Copy link
Owner

MoOx commented Jan 25, 2016

I think this should be default behavior. I don't want a weird "collection" option in meta (and you don't want neither, am I right?).
Maybe a "collection: false" to disable in frontmatter, and a collection: true by default in js config?

Also you will need to adjust the useless fetch for the collection.json file if the collection is already in the initial state.

@MoOx
Copy link
Owner

MoOx commented Jan 25, 2016

Did you try "ava src/ a single file.js" to run test?

@thangngoc89
Copy link
Contributor Author

Oh yeah. you are right. this should be the default behavior.

@thangngoc89 thangngoc89 deleted the add-collection-option branch January 25, 2016 11:41
@thangngoc89
Copy link
Contributor Author

Oops. Accidentally delete this branch. Continue as #100

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

Successfully merging this pull request may close these issues.

2 participants