feat: Add hideOtherSidebarContent option (#661)
Allow user to configure whether or not to hide other sidebar content while showing searching results. Related issue: https://github.com/docsifyjs/docsify/issues/535
This commit is contained in:
parent
a39b214733
commit
4a23c4acf2
4 changed files with 31 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ export function main(config) {
|
|||
'</button>' +
|
||||
'<aside class="sidebar">' +
|
||||
(config.name ?
|
||||
`<h1><a class="app-name-link" data-nosearch>${
|
||||
`<h1 class="app-name"><a class="app-name-link" data-nosearch>${
|
||||
config.logo ?
|
||||
`<img alt=${config.name} src=${config.logo}>` :
|
||||
config.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue