Pagination works in "source"-folder not in "source/_layouts"-folder #696
Unanswered
faridbouchdak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a file "blog.blade.php" in the "source"-folder with the following code:
In this file $pagination works fine 😃
When I put this file in the "_layouts"-folder and let a file in "_pages"-folder extends "_layouts.blog" i get a "Undefined variable $pagination"-error.
I am sure that the reason for this error is my lack of knowledge, but can someone push me in the right direction to solve this issue?
Thanks for reading btw 😄
Beta Was this translation helpful? Give feedback.
All reactions