mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 00:47:03 +02:00
fix(theme): add __ prefix to technical anchors, search crawlers (Algolia) should ignore them (#8909)
This commit is contained in:
parent
f154b2f870
commit
d220f481a7
12 changed files with 22 additions and 16 deletions
|
@ -5,7 +5,10 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
export const blogPostContainerID = 'post-content';
|
||||
// __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors
|
||||
// https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368
|
||||
export const blogPostContainerID = '__blog-post-container';
|
||||
|
||||
export {
|
||||
default as applyTrailingSlash,
|
||||
type ApplyTrailingSlashParams,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue