Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/brand/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export class Brand {
getLogoResource(name: string): BrandLogoExplicitResource {
const entry = this.data.logo?.images?.[name];
if (!entry) {
return { path: name };
return this.resolvePath(name);
}
return this.resolvePath(entry);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logo:
medium: ../logos/logo.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
format:
dashboard: default
revealjs: default
typst:
keep-typ: true
brand: brand/_brand.yml
_quarto:
tests:
dashboard:
ensureFileRegexMatches:
-
- '<img src="logos(/|\\)logo.png"'
- []
revealjs:
ensureFileRegexMatches:
-
- '<img src="logos(/|\\)logo.png"'
- []
typst:
ensureTypstFileRegexMatches:
-
- 'background: align\(left\+top, box\(inset: 0\.75in, image\("logos(/|\\\\)logo\.png", width: 1\.5in\)\)'
- []
---

# Test

Some text
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.quarto/
**/*.quarto_ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
project:
type: default
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logo:
medium: ../logos/logo.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
format:
dashboard: default
revealjs: default
typst:
keep-typ: true
brand: brand/_brand.yml
_quarto:
tests:
dashboard:
ensureFileRegexMatches:
-
- '<img src="logos(/|\\)logo.png"'
- []
revealjs:
ensureFileRegexMatches:
-
- '<img src="logos(/|\\)logo.png"'
- []
typst:
ensureTypstFileRegexMatches:
-
- 'background: align\(left\+top, box\(inset: 0\.75in, image\("logos(/|\\\\)logo\.png", width: 1\.5in\)\)'
- []
---

# Test

Some text
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading