Skip to content

Commit 0d154b4

Browse files
committed
Add tests/docs/smoke-all/2025/03/07/issue-12222
1 parent d2b180f commit 0d154b4

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
project:
2+
type: website
3+
4+
website:
5+
title: "myblog"
6+
twitter-card: true
7+
open-graph: true
8+
page-footer:
9+
center: |
10+
Footer image:
11+
[![](/profile.jpg)](https://quarto.org/)
12+
navbar:
13+
right:
14+
- icon: github
15+
href: https://github.com/
16+
- icon: twitter
17+
href: https://twitter.com
18+
19+
format:
20+
html:
21+
theme: cosmo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Listing Example"
3+
listing:
4+
contents: posts
5+
sort: "date desc"
6+
_quarto:
7+
render-project: true
8+
tests:
9+
html:
10+
ensureFileRegexMatches:
11+
-
12+
- '\<img src="posts/post-with-code/image.jpg'
13+
- '\<img src="posts/welcome/thumbnail.jpg'
14+
- []
15+
---
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
date: '2025-03-06T14:39:55+09:00'
3+
title: "Yes, meta image"
4+
_quarto:
5+
render-project: true
6+
tests:
7+
html:
8+
ensureFileRegexMatches:
9+
-
10+
- '\<meta name="twitter:image" content="../../posts/welcome/thumbnail.jpg'
11+
- '\<meta property="og:image" content="../../posts/welcome/thumbnail.jpg'
12+
- []
13+
image: ""
14+
---
15+
16+
Testing images.
17+
18+
![](/posts/welcome/thumbnail.jpg)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
date: '2025-03-06T14:38:55+09:00'
3+
title: "This has no meta image"
4+
_quarto:
5+
render-project: true
6+
tests:
7+
html:
8+
ensureFileRegexMatches:
9+
-
10+
- '\<meta name="twitter:image" content="../../posts/post-with-code/image.jpg'
11+
- '\<meta property="og:image" content="../../posts/post-with-code/image.jpg'
12+
- []
13+
---
14+
15+
Testing images.
16+
17+
![](/posts/post-with-code/image.jpg)

0 commit comments

Comments
 (0)