Skip to content

Commit

Permalink
if title is not given then in sidebar nothing will be shown
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitskvmdam committed May 5, 2024
1 parent 1850178 commit 0bdddba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function buildNavbar() {
* @return {string} The HTML for the navigation sidebar.
*/
function buildSidebar(members) {
const title = themeOpts.title || 'Home';
const title = themeOpts.title;

const isHTML = RegExp.prototype.test.bind(/(<([^>]+)>)/i);

Expand Down

0 comments on commit 0bdddba

Please sign in to comment.