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

Feature request: passing lists in [extra] #108

Open
ghost opened this issue Nov 19, 2021 · 1 comment
Open

Feature request: passing lists in [extra] #108

ghost opened this issue Nov 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Nov 19, 2021

I like something like this:

[group.activities]
paths=["activities"]

[group.activities.note]
filename = "{{id}}-{{slug title}}"
extension = "md"
template="activities.md"

[group.activities.extra]
author = "Me"
keywords = ["activities", "really stuff"]

and in template:

keywords: {{group.extra keywords]]

But it gives me an error

@mickael-menu mickael-menu added the enhancement New feature or request label Nov 19, 2021
@mickael-menu mickael-menu changed the title You cannot pass list to group.extra Feature request: passing lists in [extra] Nov 19, 2021
@mickael-menu
Copy link
Member

It's not supported, extra can only contain strings at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant