summaryrefslogtreecommitdiff
path: root/test/osterbro-attraktion-tur
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/osterbro-attraktion-tur
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/osterbro-attraktion-tur')
-rw-r--r--test/osterbro-attraktion-tur/index.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/osterbro-attraktion-tur/index.md b/test/osterbro-attraktion-tur/index.md
new file mode 100644
index 00000000..4dcae232
--- /dev/null
+++ b/test/osterbro-attraktion-tur/index.md
@@ -0,0 +1,7 @@
+[[!meta title="Østerbros attraktioner"]]
+# [[Østerbros attraktioner|/osterbro-attraktion]]
+[[!template id=map bounds-nw="55.709, 12.56261" bounds-se="55.6965, 12.5911"]]
+<script>
+var waypoint = L.marker([55.6992, 12.5772]).addTo(map);
+waypoint.bindPopup("<a href=../../osterbro-attraktion/>Østerbros Attraktioner</a><br><a href=../osterbro-attraktion/>Gå til turbeskrivelsen</a>");
+</script>