mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-15 03:28:07 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
8acc405e12
2 changed files with 10 additions and 5 deletions
|
|
@ -100,6 +100,10 @@ export const getBacklinkHeadingMore = (moreElement: HTMLElement) => {
|
|||
};
|
||||
|
||||
export const genBreadcrumb = (blockPaths: IBreadcrumb[], renderFirst = false) => {
|
||||
if (1 > blockPaths.length) {
|
||||
return "";
|
||||
}
|
||||
|
||||
let html = "";
|
||||
blockPaths.forEach((item, index) => {
|
||||
if (index === 0 && !renderFirst) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue