diff --git a/README.md b/README.md index d9ae89d..b869511 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ ## Features - No statically built html files -- Simple and lightweight (~14kB gzipped) +- Simple and lightweight (~16kB gzipped) - Smart full-text search plugin - Multiple themes - Useful plugin API diff --git a/src/core/render/tpl.js b/src/core/render/tpl.js index 2658c0b..6f79159 100644 --- a/src/core/render/tpl.js +++ b/src/core/render/tpl.js @@ -31,7 +31,7 @@ export function main (config) { '' + '') diff --git a/src/plugins/search/search.js b/src/plugins/search/search.js index 9888d63..e7f5ee7 100644 --- a/src/plugins/search/search.js +++ b/src/plugins/search/search.js @@ -17,7 +17,7 @@ function escapeHtml (string) { function getAllPaths () { const paths = [] - helper.dom.findAll('a') + helper.dom.findAll('a:not(data-nosearch)') .map(node => { const href = node.href const originHref = node.getAttribute('href')