Fix wiki links within the standalone pages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4745 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
29fc728509
commit
86fb5c53a1
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "📝",
|
"emoji": "📝",
|
||||||
"previous": "&SkX7Tmt1TEAPoyIPTv8qrxIrAcxTUicFEKkVtuU9CSo=.sha256"
|
"previous": "&w+d5glrC/yHNrj1b6nihHNn4rpNZG5R4GuThkZ/XT6w=.sha256"
|
||||||
}
|
}
|
@ -13,7 +13,7 @@ function markdown(md) {
|
|||||||
if (node.type === 'link') {
|
if (node.type === 'link') {
|
||||||
if (node.destination.indexOf(':') == -1 &&
|
if (node.destination.indexOf(':') == -1 &&
|
||||||
node.destination.indexOf('/') == -1) {
|
node.destination.indexOf('/') == -1) {
|
||||||
node.destination = `#${this.wiki?.name}/${node.destination}`;
|
node.destination = `${node.destination}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user