[site/links][xs]: modify path source
This commit is contained in:
parent
6cce1c7620
commit
5b9a091029
|
|
@ -117,7 +117,7 @@ export const Tooltip = ({ render, ...props }) => {
|
||||||
if (filePath.includes('notes')) {
|
if (filePath.includes('notes')) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const page = allOtherPages.find(p => p._raw.sourceFilePath === filePath)
|
const page = allOtherPages.find(p => p._raw.flattenedPath === filePath)
|
||||||
content = documentExtract(page.body.raw);
|
content = documentExtract(page.body.raw);
|
||||||
} catch {
|
} catch {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue