summaryrefslogtreecommitdiff
path: root/test/broer
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/broer
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/broer')
-rw-r--r--test/broer/index.md95
1 files changed, 95 insertions, 0 deletions
diff --git a/test/broer/index.md b/test/broer/index.md
new file mode 100644
index 00000000..e9881049
--- /dev/null
+++ b/test/broer/index.md
@@ -0,0 +1,95 @@
+# Brokvartererne
+[[!template stamen=toner-lite id=map bounds-nw="55.70845,12.53386" bounds-se="55.66239,12.59703"]]
+<script>
+var polygon = L.polygon([
+ [55.73275, 12.56572],
+ [55.73247, 12.56692],
+ [55.73054, 12.56748],
+ [55.73009, 12.56836],
+ [55.72909, 12.57631],
+ [55.72954, 12.57648],
+ [55.72776, 12.57587],
+ [55.72289, 12.57769],
+ [55.72165, 12.57746],
+ [55.72165, 12.58291],
+ [55.71251, 12.58621],
+ [55.69607, 12.59308],
+ [55.7011, 12.59643],
+ [55.6951, 12.59359],
+ [55.69916, 12.59153],
+ [55.69607, 12.5796],
+ [55.69094, 12.57136],
+ [55.69621, 12.56149],
+ [55.70647, 12.56278],
+ [55.70352, 12.5584],
+ [55.71009, 12.55497],
+ [55.71106, 12.55325],
+ [55.71466, 12.55879],
+ [55.71913, 12.56437],
+ [55.71986, 12.56261],
+ [55.71986, 12.5613],
+ [55.72191, 12.56355],
+ [55.72242, 12.56136],
+ [55.72533, 12.56162],
+ [55.73127, 12.56357],
+ [55.73131, 12.56424],
+ [55.73124, 12.566]
+]).addTo(map);
+polygon.bindPopup("<a href=../../osterbro/>Ture på Østerbro</a>");
+</script>
+<script>
+var polygon = L.polygon([
+ [55.67466, 12.5642],
+ [55.66819, 12.57196],
+ [55.66776, 12.57111],
+ [55.6673, 12.57154],
+ [55.66381, 12.56441],
+ [55.66209, 12.5657],
+ [55.65311, 12.55866],
+ [55.65454, 12.55261],
+ [55.65541, 12.5533],
+ [55.65704, 12.5527],
+ [55.65408, 12.53849],
+ [55.65529, 12.53767],
+ [55.66248, 12.54154],
+ [55.66326, 12.53068],
+ [55.66723, 12.52828],
+ [55.67015, 12.53806],
+ [55.67308, 12.54823],
+ [55.67267, 12.54999],
+ [55.67451, 12.54986],
+ [55.67352, 12.55411],
+ [55.67456, 12.56021],
+ [55.67352, 12.56115]
+]).addTo(map);
+polygon.bindPopup("<a href=../../vesterbro/>Ture på Vesterbro</a>");
+</script>
+<script>
+var polygon = L.polygon([
+ [55.69379, 12.536],
+ [55.69447, 12.53549],
+ [55.69524, 12.53446],
+ [55.6966, 12.53566],
+ [55.69713, 12.53557],
+ [55.69807, 12.53673],
+ [55.70103, 12.53785],
+ [55.70376, 12.53909],
+ [55.70659, 12.54192],
+ [55.70826, 12.54463],
+ [55.7113, 12.55334],
+ [55.71004, 12.55506],
+ [55.70361, 12.55772],
+ [55.70313, 12.55875],
+ [55.70642, 12.56252],
+ [55.69636, 12.56166],
+ [55.69171, 12.56948],
+ [55.68726, 12.56278],
+ [55.68208, 12.5578],
+ [55.68475, 12.55385],
+ [55.68538, 12.5469],
+ [55.6876, 12.54141],
+ [55.69108, 12.53643],
+ [55.69287, 12.53557]
+]).addTo(map);
+polygon.bindPopup("<a href=../../norrebro/>Ture på Nørrebro</a>");
+</script>