|
|
@@ -18,6 +18,7 @@ class SearchResultList extends React.Component {
|
|
|
const showTags = (page.tags != null) && (page.tags.length > 0);
|
|
|
|
|
|
return (
|
|
|
+ // Add prefix 'id_' in id attr, because scrollspy of bootstrap doesn't work when the first letter of id of target component is numeral.
|
|
|
<div id={`id_${page._id}`} key={page._id} className="search-result-page mb-5">
|
|
|
<h2>
|
|
|
<a href={page.path}>{page.path}</a>
|