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

Content Type definitions #96

Closed
svandragt opened this issue Sep 30, 2020 · 2 comments
Closed

Content Type definitions #96

svandragt opened this issue Sep 30, 2020 · 2 comments

Comments

@svandragt
Copy link
Owner

svandragt commented Sep 30, 2020

ala Lektor.

Something like this content/posts.toml

[sections]
metadata = "MetadataReader"
markdown = "MarkdownReader"

[config]
location="posts"
name="Posts"
validate=true
@svandragt
Copy link
Owner Author

Sections seem like they fit better in PHP code. Perhaps the configuration.php file should be part of content.

@svandragt
Copy link
Owner Author

Cuttlefish writes Models with $fields that describe the content types.

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

No branches or pull requests

1 participant