File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ project :
2+ type : website
3+
4+ website :
5+ title : " Testing listing pagination"
6+ navbar :
7+ left :
8+ - href : index.qmd
9+ text : Home
10+
11+
12+ format : html
Original file line number Diff line number Diff line change 1+ ---
2+ title : Pagination Test
3+ listing :
4+ - id : default-pagination
5+ contents : posts
6+ type : table
7+ page-size : 2
8+ - id : custom-pagination
9+ contents : posts
10+ type : grid
11+ page-size : 2
12+ pagination :
13+ inner-window : 1
14+ outer-window : 1
15+ - id : zero-inner-window
16+ contents : posts
17+ type : default
18+ page-size : 2
19+ pagination :
20+ inner-window : 0
21+ _quarto :
22+ tests :
23+ html :
24+ ensureHtmlElements :
25+ - " #default-pagination-pagination"
26+ - " #custom-pagination-pagination"
27+ - " #zero-inner-window-pagination"
28+ - " #default-pagination-pagination li.page-item a.page-link"
29+ ensureFileRegexMatches :
30+ - " listing-default-pagination.*innerWindow: 2"
31+ - " listing-custom-pagination.*innerWindow: 1"
32+ - " listing-custom-pagination.*outerWindow: 1"
33+ - " listing-zero-inner-window.*innerWindow: 0"
34+ ---
35+
36+ ## Default Pagination
37+
38+ ::: {#default-pagination}
39+ :::
40+
41+ ## Custom Pagination
42+
43+ ::: {#custom-pagination}
44+ :::
45+
46+ ## Zero Inner Window
47+
48+ ::: {#zero-inner-window}
49+ :::
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 1
3+ date : 2026-01-01
4+ ---
5+
6+ Content for test post 1.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 2
3+ date : 2026-01-02
4+ ---
5+
6+ Content for test post 2.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 3
3+ date : 2026-01-03
4+ ---
5+
6+ Content for test post 3.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 4
3+ date : 2026-01-04
4+ ---
5+
6+ Content for test post 4.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 5
3+ date : 2026-01-05
4+ ---
5+
6+ Content for test post 5.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 6
3+ date : 2026-01-06
4+ ---
5+
6+ Content for test post 6.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 7
3+ date : 2026-01-07
4+ ---
5+
6+ Content for test post 7.
Original file line number Diff line number Diff line change 1+ ---
2+ title : Test Post 8
3+ date : 2026-01-08
4+ ---
5+
6+ Content for test post 8.
You can’t perform that action at this time.
0 commit comments