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

Roadmap suggestions #36

Open
maiertech opened this issue Sep 5, 2016 · 1 comment
Open

Roadmap suggestions #36

maiertech opened this issue Sep 5, 2016 · 1 comment

Comments

@maiertech
Copy link

After looking at the source code more closely I would like to put up the following suggested roadmap items up for discussion:

  • Tag definitions in pages: Currently tags need to be provided as comma separated lists and it is not possible to use arrays or lists of tags in the frontmatter. I am not sure what the added value of comma separated lists is since they require more processing than arrays or lists.
  • Pagination: The pagination basically duplicates functionality of metalsmith-pagination. It might be a good idea to remove pagination from metalsmith-tags and focus on generating the global tags metadata in a way that is compatible with metalsmith-pagination. metalsmith-tags would still be responsible for creating tag pages without pagination, but it would leave the pagination to the other plugin. The documentation would need provide an example on how to apply metalsmith-pagination afterwards.
  • Add ESLint configuration: I would be great if the project includes an ESLint configuration. This would make it easier for contributors to ensure their code is neat and clean and also be helpful for maintainers when merging pull requests. I have no preference which ESLint configuration to use as long as the code is consistent. eslint-config-standard is one of many options.
  • Conversion to ES2015: I think it's time to convert this project (like all other Metalsmith projects) to ES2015. This would require a Babel build step to create the npm package ES5 compliant.
@jcrawford
Copy link

I would also suggest that you add a list of tag names to the global metadata so that when not on tag pages you can still build a tag cloud in the sidebar. I am currently having a hard time getting at this data and am looking at the following

1.) writing a custom plugin
2.) submitting a pull request

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