summaryrefslogtreecommitdiff
path: root/video
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 /video
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 'video')
-rw-r--r--video/2014/nbro/index.md4
-rw-r--r--video/2014/ridebanen/index.md4
-rw-r--r--video/2014/superkilen/index.md4
-rw-r--r--video/2014/wessel/index.md4
-rw-r--r--video/2016/julevideo_red/index.md4
-rw-r--r--video/2018/julevideo/index.md4
-rw-r--r--video/2021/01/index.md4
-rw-r--r--video/2021/02/index.md4
-rw-r--r--video/2021/03/index.md4
-rw-r--r--video/2021/04/index.md4
-rw-r--r--video/2021/05/index.md4
-rw-r--r--video/index.md4
12 files changed, 48 insertions, 0 deletions
diff --git a/video/2014/nbro/index.md b/video/2014/nbro/index.md
index 0ac2868e..9da65d7a 100644
--- a/video/2014/nbro/index.md
+++ b/video/2014/nbro/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Ved Nørrebro Station" stem="2014/nbro" width="576" height="316") }}
+
diff --git a/video/2014/ridebanen/index.md b/video/2014/ridebanen/index.md
index 196eef08..606bafef 100644
--- a/video/2014/ridebanen/index.md
+++ b/video/2014/ridebanen/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="En kongelig Affære" stem="2014/ridebanen" width="576" height="316") }}
+
diff --git a/video/2014/superkilen/index.md b/video/2014/superkilen/index.md
index acf6057f..209b75be 100644
--- a/video/2014/superkilen/index.md
+++ b/video/2014/superkilen/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Superkilen" stem="2014/superkilen" width="576" height="316") }}
+
diff --git a/video/2014/wessel/index.md b/video/2014/wessel/index.md
index 87f76b38..f9306b3a 100644
--- a/video/2014/wessel/index.md
+++ b/video/2014/wessel/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Smeden og Bageren" stem="2014/wessel" width="576" height="316") }}
+
diff --git a/video/2016/julevideo_red/index.md b/video/2016/julevideo_red/index.md
index 811297de..cd81ab49 100644
--- a/video/2016/julevideo_red/index.md
+++ b/video/2016/julevideo_red/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Julevideo" stem="2016/julevideo_red" width="640" height="360") }}
+
diff --git a/video/2018/julevideo/index.md b/video/2018/julevideo/index.md
index 8a697934..35e52633 100644
--- a/video/2018/julevideo/index.md
+++ b/video/2018/julevideo/index.md
@@ -1,4 +1,8 @@
++++
+
++++
{{ video(title="Julevideo" stem="2018/julevideo" width="480" height="272" nowebm=1 noogg=1) }}
[[Læs mere om turen **Rør blot ikke ved min gamle Jul**|/gamlejul/]]
+
diff --git a/video/2021/01/index.md b/video/2021/01/index.md
index ed7b2911..6a9a5f68 100644
--- a/video/2021/01/index.md
+++ b/video/2021/01/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Kan du gætte hvem jeg er 1" stem="2021/01" width="640" height="360") }}
+
diff --git a/video/2021/02/index.md b/video/2021/02/index.md
index 3925734d..542de7a9 100644
--- a/video/2021/02/index.md
+++ b/video/2021/02/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Kan du gætte hvem jeg er 2" stem="2021/02" width="640" height="360") }}
+
diff --git a/video/2021/03/index.md b/video/2021/03/index.md
index 6bc1ea99..c321cbfc 100644
--- a/video/2021/03/index.md
+++ b/video/2021/03/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Sankt Hans Torv - i begyndelsen" stem="2021/03" width="640" height="360") }}
+
diff --git a/video/2021/04/index.md b/video/2021/04/index.md
index 61e6e17c..a1ffd652 100644
--- a/video/2021/04/index.md
+++ b/video/2021/04/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Sankt Hans Torv - Slaget på Fælleden" stem="2021/04" width="640" height="360") }}
+
diff --git a/video/2021/05/index.md b/video/2021/05/index.md
index aa4fa642..f6900dd8 100644
--- a/video/2021/05/index.md
+++ b/video/2021/05/index.md
@@ -1 +1,5 @@
++++
+
++++
{{ video(title="Sankt Hans Torv - 1993" stem="2021/05" width="640" height="360") }}
+
diff --git a/video/index.md b/video/index.md
index b2d6f83c..face3df8 100644
--- a/video/index.md
+++ b/video/index.md
@@ -1,3 +1,6 @@
++++
+
++++
# Levende oplevelser med Byvandring.nu
## [Byvandring.nu videoerne ligger også på YouTube.](https://www.youtube.com/channel/UCSGQdKmN6Xzz2DrPPUTh43g)
@@ -11,3 +14,4 @@
[[!inline pages="video/2016/*" raw=yes]]
[[!inline pages="video/2014/*" raw=yes]]
+