Configuring params.toml

I have defined several items in config .toml such as [[params.twitter]] with several inputs such as username =, card= etc. When reading over this, my understanding is that I cannot define something like [[twitter]] and all these items need to be in the root? How to achieve this?

Figured out it works using single square brackets [twitter].

TOML tables are weird.

I can live with TOML tables.

On the other hand, YAML indentation is human unfriendly and it always gets on my nerves.

P.S. Except for complicated nested tables. Then I have to use YAML since TOML can get quite messy.


That’s right. As soon as one understands the one- vs. double-brackets it is pretty easy to understand. That’s what I meant with the link :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.