Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/plugins/search/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ function doSearch(value) {

let html = '';
matchs.forEach(post => {
if ($docsify.routerMode=='history') {
post.url = post.url.replace('#', '')
}
html += `<div class="matching-post">
<a href="${post.url}">
<h2>${post.title}</h2>
Expand Down