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 /foredrag/bybrand | |
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 'foredrag/bybrand')
-rw-r--r-- | foredrag/bybrand/index.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/foredrag/bybrand/index.md b/foredrag/bybrand/index.md index 3b6ea4eb..674c2c2e 100644 --- a/foredrag/bybrand/index.md +++ b/foredrag/bybrand/index.md @@ -21,7 +21,7 @@ der gjorde brandene så ødelæggende. Foredraget fortæller om kampene mod ilden, og hvordan det indre København stadig er præget af katastroferne. -[[Læs mere...|/foredrag/bybrand]] +[Læs mere...](@/foredrag/bybrand/index.md) """ else=""" @@ -49,10 +49,10 @@ Vi futter også Christiansborg af to gange og Dronningens lystslot, Amalienborg, Velkommen til en historie om skæbner, samfund og politik i Danmarks enevælde. -**Foredragsholdere:** [[Thomas Warburg|/thomas_warburg]] og [[Paul Hartvigson|/paul_hartvigson]]. +**Foredragsholdere:** [Thomas Warburg](@/thomas_warburg/index.md) og [Paul Hartvigson](@/paul_hartvigson/index.md). [[!inline pages="thomas_warburg" and "paul_hartvigson" ]] -[[Alle foredrag|/foredrag]] +[Alle foredrag](@/foredrag/index.md) --- """]] |