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

dest files #1

Open
jonschlinkert opened this issue Apr 22, 2014 · 2 comments
Open

dest files #1

jonschlinkert opened this issue Apr 22, 2014 · 2 comments

Comments

@jonschlinkert
Copy link
Member

@doowb how about doing this: https://github.com/assemble/assemble-blog/blob/master/blog.js#L49-L56 with permalinks?

@doowb
Copy link
Member

doowb commented Apr 22, 2014

The dest files will use permalinks but what you linked to I plan on using strings and adding that parse method we talked about for it. This was just an attempt at quickly setting up the archive collections for testing.

@jonschlinkert
Copy link
Member Author

This was just an attempt at quickly setting up the archive collections for testing.

yeah I figured that.

Seems like permalinks should be used though, so that the same conventions and options are available here as elsewhere. maybe we should go ahead and wrap Strings and generalize this stuff in the actual permalinks lib, and start using that for these use cases with Assemble. I think it would:

  • generalize some features related to using Strings for file paths
  • offer a consistent API for passing in options and context so that the properties can be used in the resulting strings
  • bundle in Strings middlewares that are common to this use case

thoughts?

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

2 participants