File tree 4 files changed +71
-0
lines changed
tests/docs/smoke-all/2025/03/07/issue-12222
autoImg-and-empty-meta-image
autoImg-and-no-meta-image
4 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
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
+ [](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 number Diff line number Diff line change
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 number Diff line number Diff line change
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 number Diff line number Diff line change
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 )
You can’t perform that action at this time.
0 commit comments