Skip to content

Commit 0f0ee25

Browse files
committed
tests - add grid and default listing in tests
1 parent f6a7cd9 commit 0f0ee25

File tree

19 files changed

+152
-58
lines changed

19 files changed

+152
-58
lines changed

tests/docs/playwright/blog/simple-blog/_quarto.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@ project:
33

44
website:
55
title: "Testing listing search"
6+
navbar:
7+
left:
8+
- href: index.qmd
9+
text: Home
10+
- href: default.qmd
11+
text: Default
12+
- href: grid.qmd
13+
text: Grid
14+
- href: table.qmd
15+
text: Table
616

717
format: html
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Testing listing default"
3+
listing:
4+
contents: posts2
5+
sort: "date desc"
6+
type: default
7+
categories: true
8+
filter-ui: true
9+
page-layout: full
10+
title-block-banner: true
11+
---
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Testing listing grid"
3+
listing:
4+
contents: posts3
5+
sort: "date desc"
6+
type: grid
7+
categories: true
8+
filter-ui: true
9+
page-layout: full
10+
title-block-banner: true
11+
---
12+
13+
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
---
2-
title: "Testing listing search"
3-
listing:
4-
contents: posts
5-
sort: "date desc"
6-
type: table
7-
categories: true
8-
filter-ui: true
9-
page-layout: full
10-
title-block-banner: true
2+
title: "Testing listings"
113
---
124

5+
This website is for testing listings
136

-20.9 KB
Loading
-18.2 KB
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# options specified here will apply to all posts in this folder
2+
3+
# Enable banner style title blocks
4+
title-block-banner: true
19.8 KB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Post With Code"
3+
author: "Harlow Malloc"
4+
date: "2024-09-06"
5+
categories: [news, code, analysis, apos'trophe]
6+
image: "image.jpg"
7+
---
8+
9+
This is a post with executable code.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Welcome To My Blog"
3+
author: "Tristan O'Malley"
4+
date: "2024-09-03"
5+
categories: [news, 'euros (€)', 免疫]
6+
---
7+
8+
This is the first post in a Quarto blog. Welcome!
9+
10+
![](thumbnail.jpg)
11+
12+
## About image listing {#img-lst}
13+
14+
Since this post doesn't specify an explicit `image`, the first image in the post will be used in the listing page of posts.

0 commit comments

Comments
 (0)