File tree Expand file tree Collapse file tree 5 files changed +15
-10
lines changed
tests/docs/smoke-all/2024/05/06/9524 Expand file tree Collapse file tree 5 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ title: "Untitled"
33_quarto :
44 tests :
55 html :
6- ensureFileRegexMatches :
7- - ['<link rel="canonical" href="https://index.html.com/about/file.html">']
6+ ensureHtmlElements :
7+ - ['link[rel="canonical"][href="https://index.html.com/about/file.html"]']
8+ - []
89---
910
1011A non ` index ` file at the root of a subdirectory.
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ title: "About"
33_quarto :
44 tests :
55 html :
6- ensureFileRegexMatches :
7- - ['<link rel="canonical" href="https://index.html.com/about/">']
6+ ensureHtmlElements :
7+ - ['link[rel="canonical"][href="https://index.html.com/about/"]']
8+ - []
89---
910
1011About this site
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ title: "Untitled"
33_quarto :
44 tests :
55 html :
6- ensureFileRegexMatches :
7- - ['<link rel="canonical" href="https://index.html.com/about/test/something.html">']
6+ ensureHtmlElements :
7+ - ['link[rel="canonical"][href="https://index.html.com/about/test/something.html"]']
8+ - []
89---
910
1011Another file inside a nested directory.
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ title: "Quarto 9524"
33_quarto :
44 tests :
55 html :
6- ensureFileRegexMatches :
7- - ['<link rel="canonical" href="https://index.html.com/">']
6+ ensureHtmlElements :
7+ - ['link[rel="canonical"][href="https://index.html.com/"]']
8+ - []
89---
910
1011This is a Quarto website.
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ title: root page
33_quarto :
44 tests :
55 html :
6- ensureFileRegexMatches :
7- - ['<link rel="canonical" href="https://index.html.com/root-page.index.html">']
6+ ensureHtmlElements :
7+ - ['link[rel="canonical"][href="https://index.html.com/root-page.index.html"]']
8+ - []
89---
910
1011Root page with "index." pattern.
You can’t perform that action at this time.
0 commit comments