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

Add option to display frontmatter more easily in config #1208

Open
lsilberstein opened this issue Jun 14, 2024 · 0 comments
Open

Add option to display frontmatter more easily in config #1208

lsilberstein opened this issue Jun 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lsilberstein
Copy link

Is your feature request related to a problem? Please describe.
The Contentmeta component currently only displays a few informations such as Date and reading time. People often ask for options to display their own fronmatter fields, such as

discord message

Describe the solution you'd like
An easy solution could be to add option field to the contentmeta component.

frontmatter?: {
    fieldName: string
}

Describe alternatives you've considered
Another alternative would be to write a whole new table view component that could be used in the layout config.

Additional context
I actually built a similar system for my own space which you can reference here

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