summaryrefslogtreecommitdiff
path: root/aabneture/2022
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2022-06-19 21:53:30 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-06 10:37:11 +0200
commit2babefddb5b38b7a2d65c528c246a2e6705660a4 (patch)
tree0b9d90361db41fedd853e4a1e0fa82c07e1b7984 /aabneture/2022
parent30b9669ea95e6b3b4f48a25c8045c2b4f551dacd (diff)
convert meta and tag directives to TOML frontmatter
command: ``` find * -type f -name '*.md' -execdir perl -MTOML::Tiny=to_toml -C63 -gni -E '%x=();s/\[\[!meta\s+(title|date)="?([^\]"]+?)\s*"?\s*\]\]\s*\n*/$x{$1}=$2;""/eg; s/\[\[!meta\s+stylesheet="?edu"?\s+rel="?stylesheet"?\s*\]\]\n*/$x{taxonomies}{categories}=["education"];""/e; s/\[\[!tag((?:\s+[^\]\s]+)+)\s*\]\]\n*/push @{$x{taxonomies}{tags}}, $1=~m{\S+}g;""/eg; s/\[\[!meta\s+(?:author|name)="?([^\]"]+?)\s*"?\s*\]\]\s*\n*/$x{extra}{author}=$1;""/eg; say "+++"; say to_toml({%x}); say "+++"; say $_' '{}' + ```
Diffstat (limited to 'aabneture/2022')
-rw-r--r--aabneture/2022/april/index.md5
-rw-r--r--aabneture/2022/august/index.md5
-rw-r--r--aabneture/2022/december/index.md5
-rw-r--r--aabneture/2022/februar/index.md4
-rw-r--r--aabneture/2022/juli/index.md5
-rw-r--r--aabneture/2022/juni/index.md5
-rw-r--r--aabneture/2022/maj/index.md5
-rw-r--r--aabneture/2022/marts/index.md5
-rw-r--r--aabneture/2022/november/index.md5
-rw-r--r--aabneture/2022/oktober/index.md5
-rw-r--r--aabneture/2022/september/index.md5
11 files changed, 44 insertions, 10 deletions
diff --git a/aabneture/2022/april/index.md b/aabneture/2022/april/index.md
index bdedb920..11bf0182 100644
--- a/aabneture/2022/april/index.md
+++ b/aabneture/2022/april/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i april"]]
++++
+title="Åbne ture i april"
++++
## Åbne ture i april
[[!toggle id="april" text="Vis åbne ture i april"]]
@@ -436,3 +438,4 @@ Med forskellige guider.
[[!toggle id="april" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/august/index.md b/aabneture/2022/august/index.md
index e339e469..cc852c86 100644
--- a/aabneture/2022/august/index.md
+++ b/aabneture/2022/august/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i august"]]
++++
+title="Åbne ture i august"
++++
## Åbne ture i august
[[!toggle id="august" text="Vis åbne ture i august"]]
@@ -242,3 +244,4 @@ Med Morten Lander Andersen.
[[!toggle id="august" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/december/index.md b/aabneture/2022/december/index.md
index dcb2b39f..a2f655ad 100644
--- a/aabneture/2022/december/index.md
+++ b/aabneture/2022/december/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i december"]]
++++
+title="Åbne ture i december"
++++
## Åbne ture i december
[[!toggle id="december" text="Vis åbne ture i december"]]
@@ -52,3 +54,4 @@ Med Morten Lander Andersen.
[[!toggle id="december" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/februar/index.md b/aabneture/2022/februar/index.md
index 2e8c5929..425d99fd 100644
--- a/aabneture/2022/februar/index.md
+++ b/aabneture/2022/februar/index.md
@@ -1,3 +1,6 @@
++++
+
++++
### Søndag 6. februar kl. 11.00. Det glemte slag - Svenskerne stormer Østervold 1659
For børn og voksne. På denne byvandring går vi i den svenske hærs fodspor i
angrebet på Københavns østre vold. Vi begynder i den gamle Vartov skanse, som lå
@@ -129,3 +132,4 @@ Med Christian Kronman.
[Køb billet på Billetto](https://billetto.dk/e/sondagsrundvisning-med-gadedigteren-pa-assistens-kirkegard-billetter-595297)
---
+
diff --git a/aabneture/2022/juli/index.md b/aabneture/2022/juli/index.md
index 7a61e315..0d1ac1e2 100644
--- a/aabneture/2022/juli/index.md
+++ b/aabneture/2022/juli/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i juli"]]
++++
+title="Åbne ture i juli"
++++
## Åbne ture i juli
[[!toggle id="juli" text="Vis åbne ture i juli"]]
@@ -225,3 +227,4 @@ Med Christian Kronman.
[[!toggle id="juli" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/juni/index.md b/aabneture/2022/juni/index.md
index bae834c9..ae901ab5 100644
--- a/aabneture/2022/juni/index.md
+++ b/aabneture/2022/juni/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i juni"]]
++++
+title="Åbne ture i juni"
++++
## Åbne ture i juni
[[!toggle id="juni" text="Vis åbne ture i juni"]]
@@ -258,3 +260,4 @@ Med Christian Kronman.
[[!toggle id="juni" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/maj/index.md b/aabneture/2022/maj/index.md
index dd0d11b6..8f3e07a8 100644
--- a/aabneture/2022/maj/index.md
+++ b/aabneture/2022/maj/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i maj"]]
++++
+title="Åbne ture i maj"
++++
## Åbne ture i maj
[[!toggle id="maj" text="Vis åbne ture i maj"]]
@@ -470,3 +472,4 @@ Med Christian Kronman.
[[!toggle id="maj" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/marts/index.md b/aabneture/2022/marts/index.md
index 1bb3e980..c4da97b1 100644
--- a/aabneture/2022/marts/index.md
+++ b/aabneture/2022/marts/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i marts"]]
++++
+title="Åbne ture i marts"
++++
## Åbne ture i marts
[[!toggle id="marts" text="Vis åbne ture i marts"]]
@@ -324,3 +326,4 @@ Med Paul Hartvigson.
[[!toggle id="marts" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/november/index.md b/aabneture/2022/november/index.md
index 80a1f1ba..e4047f47 100644
--- a/aabneture/2022/november/index.md
+++ b/aabneture/2022/november/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i november"]]
++++
+title="Åbne ture i november"
++++
## Åbne ture i november
[[!toggle id="november" text="Vis åbne ture i november"]]
@@ -128,3 +130,4 @@ Med Jeannie Krysiak o.a..
[[!toggle id="november" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/oktober/index.md b/aabneture/2022/oktober/index.md
index 35261e38..e41c6e9a 100644
--- a/aabneture/2022/oktober/index.md
+++ b/aabneture/2022/oktober/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i oktober"]]
++++
+title="Åbne ture i oktober"
++++
## Åbne ture i oktober
[[!toggle id="oktober" text="Vis åbne ture i oktober"]]
@@ -299,3 +301,4 @@ Med Christian Kronman.
[[!toggle id="oktober" text="skjul"]]
"""]]
+
diff --git a/aabneture/2022/september/index.md b/aabneture/2022/september/index.md
index 8b72a031..de8c3607 100644
--- a/aabneture/2022/september/index.md
+++ b/aabneture/2022/september/index.md
@@ -1,4 +1,6 @@
-[[!meta title="Åbne ture i september"]]
++++
+title="Åbne ture i september"
++++
## Åbne ture i september
[[!toggle id="september" text="Vis åbne ture i september"]]
@@ -329,3 +331,4 @@ Med Jesper Jørgensen.
[[!toggle id="september" text="skjul"]]
"""]]
+