File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed
tests/docs/smoke-all/website/title-shortcode Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ /.quarto /
2+ ** /* .quarto_ipynb
Original file line number Diff line number Diff line change 1+ project :
2+ type : website
3+
4+ website :
5+ title : " shortcode in title"
6+ navbar :
7+ left :
8+ - href : index.qmd
9+ text : Home
10+ - about.qmd
11+
12+ format : html
13+
14+ custom-title-about : " YOLO"
Original file line number Diff line number Diff line change 1+ ---
2+ title : " {{< meta custom-title-about >}} Page"
3+ _quarto :
4+ tests :
5+ html :
6+ ensureFileRegexMatches :
7+ - ['<title>YOLO Page – shortcode in title</title>']
8+ ---
9+
10+ This page should have shortcode in title resolved from the ` _quarto.yml ` metadata.
Original file line number Diff line number Diff line change 1+ ---
2+ title : " shortcode in title"
3+ _quarto :
4+ tests :
5+ html :
6+ ensureFileRegexMatches :
7+ - ['<title>shortcode in title</title>']
8+ ---
9+
10+ Title is same as website title, and should not be repeated.
You can’t perform that action at this time.
0 commit comments