Skip to content

TOML for configuration and/or metadata #40

Open
@denisdefreyne

Description

@denisdefreyne

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"]
+++

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions