summaryrefslogtreecommitdiff
path: root/skole/samfundsfag/index.md
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2022-12-10 13:05:05 +0100
committerJonas Smedegaard <dr@jones.dk>2024-04-06 10:37:57 +0200
commit27a11136d48d0a085eb51bea0361e46b06652165 (patch)
tree77fd3918a23b8d5090d924e23fad7bc4d65cb87f /skole/samfundsfag/index.md
parent2375e48f618997cb6afbf8dd0ff51485a8cacd70 (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 'skole/samfundsfag/index.md')
-rw-r--r--skole/samfundsfag/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/skole/samfundsfag/index.md b/skole/samfundsfag/index.md
index bc9f0a73..d7584054 100644
--- a/skole/samfundsfag/index.md
+++ b/skole/samfundsfag/index.md
@@ -10,7 +10,7 @@ categories=[
[[!inline pages="tagged(samfundsfag) and tagged(skole)" show="0"]]
## Andre fag
- * [[Historie|/skole/historie]]
+ * [Historie](@/skole/historie/index.md)
* [[Design og billedkunst|design]]
* [[Dansk og litteratur|dansk]]
* [[Geografi og naturvidenskab|naturfag]]