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 a Site model? #481

Closed
caendesilva opened this issue Sep 9, 2022 · 1 comment · Fixed by #506
Closed

Add a Site model? #481

caendesilva opened this issue Sep 9, 2022 · 1 comment · Fixed by #506
Assignees

Comments

@caendesilva
Copy link
Member

Could be useful to have a data model to consolidate global site data, like internals such as the output path, and global metadata. Then in the meta views, we'd render $site->metadata and $page->metadata, thus splitting out the responsibilities.

@caendesilva caendesilva self-assigned this Sep 13, 2022
@caendesilva caendesilva linked a pull request Sep 13, 2022 that will close this issue
@caendesilva
Copy link
Member Author

If we split out the metadata, we'll likely need/want to diff out any overlapping metadata so page specific metadata gets priority over the globals

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

Successfully merging a pull request may close this issue.

1 participant