diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-12-10 13:05:05 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:37:57 +0200 |
commit | 27a11136d48d0a085eb51bea0361e46b06652165 (patch) | |
tree | 77fd3918a23b8d5090d924e23fad7bc4d65cb87f /vejviseren/kbh-kapitler_2022 | |
parent | 2375e48f618997cb6afbf8dd0ff51485a8cacd70 (diff) |
convert internal rooted links from ikiwiki directive to zola shortcode
command:
```
find * -type f -name '*.md' -execdir perl -gpi -e 's,\[\[\s*([^\s!|\[\]][^|\[\]]*?)\s*\|\s*(/[^\[\]#]+?)\/?(?<!\.pdf)(#[^\[\]]*)?\s*\]\],[$1](\@$2/index.md$3),g; s,\[\[\s*([^\s!|\[\]][^|\[\]]*?)\s*\|\s*(/[^\[\]#]+?\.pdf)\s*\]\],[$1]($2),g;' '{}' +
```
Diffstat (limited to 'vejviseren/kbh-kapitler_2022')
-rw-r--r-- | vejviseren/kbh-kapitler_2022/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vejviseren/kbh-kapitler_2022/index.md b/vejviseren/kbh-kapitler_2022/index.md index 253024c7..4321301b 100644 --- a/vejviseren/kbh-kapitler_2022/index.md +++ b/vejviseren/kbh-kapitler_2022/index.md @@ -64,7 +64,7 @@ samtidig med at vi gerne vil vise den store spændvidde i vores udvalg. {{ img(path="2022kapiteloversigt.jpg" class="solo" size="500x") }} ## Oversigt over turene i serien -Man kan finde oplysninger om turene i [[Åbne Ture|/aabneture]]. +Man kan finde oplysninger om turene i [Åbne Ture](@/aabneture/index.md). {{ img(path="bookmarks.jpg" class="solo" size="500x") }} |