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 helper shorthand for MarkdownPost::getCollection() in the Hyde facade #1

Closed
caendesilva opened this issue Mar 22, 2022 · 0 comments · Fixed by #4
Closed

Add helper shorthand for MarkdownPost::getCollection() in the Hyde facade #1

caendesilva opened this issue Mar 22, 2022 · 0 comments · Fixed by #4
Assignees

Comments

@caendesilva
Copy link
Member

So that instead of referencing
@foreach(\Hyde\Framework\Models\MarkdownPost::getCollection() as $post)
one can simply use get Hyde::latestPosts() or similar

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