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

TOML for configuration and/or metadata #40

Open
denisdefreyne opened this issue Mar 30, 2018 · 0 comments
Open

TOML for configuration and/or metadata #40

denisdefreyne opened this issue Mar 30, 2018 · 0 comments
Labels

Comments

@denisdefreyne
Copy link
Member

TOML is a configuration file format that can be easier to deal with than YAML, which is what Nanoc uses for configuration and item/layout metadata.

Nanoc could look for a nanoc.toml file as an alternative for nanoc.yaml, and read the configuration from there.

Additionally, TOML metadata sections (a.k.a. frontmatters) could be supported. Such metadata sections would be enclosed in +++ rather than ---, e.g.

+++
title = "About Myself"
tags = ["about"]
+++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant