Logo ​

Adding a custom logo is possible using css.
Existing selector-based CSS remains compatible. For example, both .navbar-logo { background-image: url(...); } and an explicitly sized .navbar-logo get the same scroll behaviour automatically.
Here is an example:
Directory structure
/etc/blacklab/projectconfigs/
└─corpus-1/
├─search.xml
└─static/
├─logo.png
└─custom.css
Â
Â
Â
Â
Â
Â
xml
<?xml version="1.0" encoding="utf-8" ?>
<SearchInterface>
<InterfaceProperties>
<CustomCss>${request:corpusPath}/static/custom.css</CustomCss>
</InterfaceProperties>
</SearchInterface>scss
@import '../../../_style-template.scss';
:root {
--navbar-logo-url: url(./logo.png);
// Inferred from the image if omitted.
--navbar-logo-width: 172px;
--navbar-logo-height: 64px;
}
.navbar-logo {
// Use a filter for partially transparent images.
filter: drop-shadow(0 0 10px black);
}