Commit 3e5a407
fix: Correct pagination logic in templates
This commit fixes a build failure caused by incorrect pagination logic in the blog templates. The `pagination.html` partial was not being passed the correct paginator object, which resulted in a build error.
- Modifies `layouts/blog/list.html` to pass the paginator object to the `pagination.html` partial.
- Updates `layouts/partials/pagination.html` to use the passed paginator object.1 parent fff5ef7 commit 3e5a407
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments