summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-03-16 19:15:01 +0100
committerJonas Smedegaard <dr@jones.dk>2024-04-06 10:36:37 +0200
commite30097f4a9ffc42d57df2c463ae4770b61ff8769 (patch)
treed81a0f0c0153d99346cb1e123f7bc656991086b4 /test
parentc0be7d8b7c4caa1e1077e91912e93dac6c4e6470 (diff)
rename *.mdwn to */index.md, except index/topbar/farbar/sidebar files
command: ``` perl -MPath::Tiny -WE 'use strict; path(".")->visit(sub{return unless -f && /\.mdwn$/; my $stem=$_->basename(".mdwn"); my $new=$_->sibling($stem,"index.md"); return if $stem =~ /^index|topbar|sidebar|farbar|footer$/ || $new->exists; $new->parent->mkpath; system("git","mv", $_, $new)},{recurse=>1})' ```
Diffstat (limited to 'test')
-rw-r--r--test/broer/index.md (renamed from test/broer.mdwn)0
-rw-r--r--test/city-kvarter/index.md (renamed from test/city-kvarter.mdwn)0
-rw-r--r--test/index.md8
-rw-r--r--test/obro-kvarter/index.md (renamed from test/obro-kvarter.mdwn)0
-rw-r--r--test/offentlighedsloven-tur/index.md (renamed from test/offentlighedsloven-tur.mdwn)0
-rw-r--r--test/offentlighedsloven/index.md (renamed from test/offentlighedsloven.mdwn)0
-rw-r--r--test/osterbro-attraktion-tur/index.md (renamed from test/osterbro-attraktion-tur.mdwn)0
-rw-r--r--test/osterbro-attraktion/index.md (renamed from test/osterbro-attraktion.mdwn)0
-rw-r--r--test/ostervold-tur/index.md (renamed from test/ostervold-tur.mdwn)0
-rw-r--r--test/tordenskjold/index.md (renamed from test/tordenskjold.mdwn)0
10 files changed, 8 insertions, 0 deletions
diff --git a/test/broer.mdwn b/test/broer/index.md
index e9881049..e9881049 100644
--- a/test/broer.mdwn
+++ b/test/broer/index.md
diff --git a/test/city-kvarter.mdwn b/test/city-kvarter/index.md
index df68fd6d..df68fd6d 100644
--- a/test/city-kvarter.mdwn
+++ b/test/city-kvarter/index.md
diff --git a/test/index.md b/test/index.md
new file mode 100644
index 00000000..c0bcdac8
--- /dev/null
+++ b/test/index.md
@@ -0,0 +1,8 @@
+[[!meta stylesheet=front rel=stylesheet]]
+[[!template id=columns content="""
+
+[[!inline pages="( tagged(forside) or tagged(test) ) and tagged(top) and !tagged(bottom)" sort=mtime ]]
+[[!inline pages="( tagged(forside) or tagged(test) ) and !tagged(top) and !tagged(bottom)"]]
+[[!inline pages="( tagged(forside) or tagged(test) ) and tagged(bottom) and !tagged(top)" sort=mtime]]
+
+"""]]
diff --git a/test/obro-kvarter.mdwn b/test/obro-kvarter/index.md
index 3a1565bd..3a1565bd 100644
--- a/test/obro-kvarter.mdwn
+++ b/test/obro-kvarter/index.md
diff --git a/test/offentlighedsloven-tur.mdwn b/test/offentlighedsloven-tur/index.md
index ba1f4d77..ba1f4d77 100644
--- a/test/offentlighedsloven-tur.mdwn
+++ b/test/offentlighedsloven-tur/index.md
diff --git a/test/offentlighedsloven.mdwn b/test/offentlighedsloven/index.md
index 7b720634..7b720634 100644
--- a/test/offentlighedsloven.mdwn
+++ b/test/offentlighedsloven/index.md
diff --git a/test/osterbro-attraktion-tur.mdwn b/test/osterbro-attraktion-tur/index.md
index 4dcae232..4dcae232 100644
--- a/test/osterbro-attraktion-tur.mdwn
+++ b/test/osterbro-attraktion-tur/index.md
diff --git a/test/osterbro-attraktion.mdwn b/test/osterbro-attraktion/index.md
index 69a2b517..69a2b517 100644
--- a/test/osterbro-attraktion.mdwn
+++ b/test/osterbro-attraktion/index.md
diff --git a/test/ostervold-tur.mdwn b/test/ostervold-tur/index.md
index 76dbdb1a..76dbdb1a 100644
--- a/test/ostervold-tur.mdwn
+++ b/test/ostervold-tur/index.md
diff --git a/test/tordenskjold.mdwn b/test/tordenskjold/index.md
index b4077c3b..b4077c3b 100644
--- a/test/tordenskjold.mdwn
+++ b/test/tordenskjold/index.md