summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2016-03-02 15:13:12 +0100
committerSiri Reiter <siri@jones.dk>2016-03-02 15:13:12 +0100
commitd71074a182b08c64580501d0cf604c84876cd258 (patch)
tree70334ce4dd4f926a5e6c6ee17278cceb5742ee9e
parentdc76838acbc96aa7fef87afff3b4a053240e7f81 (diff)
Add inline image link to map and tag front page (test).
-rw-r--r--test/kbh.mdwn12
-rw-r--r--test/kort.pngbin0 -> 513963 bytes
2 files changed, 12 insertions, 0 deletions
diff --git a/test/kbh.mdwn b/test/kbh.mdwn
index 542d4f02..693f4100 100644
--- a/test/kbh.mdwn
+++ b/test/kbh.mdwn
@@ -1,3 +1,11 @@
+[[!meta title="Hvor vil du hen?" ]]
+[[!if test="included()" then="""
+
+[[!img kort.png class=solo link=kbh ]]
+
+"""
+else="""
+
# København
[[!template stamen=toner-lite id=map bounds-nw="55.76846,12.45369" bounds-se="55.54883,12.67891" positionpopup=1]]
<script>
@@ -29,3 +37,7 @@ var polygon = L.polygon([
]).addTo(map);
polygon.bindPopup("<a href=../../city/>Ture i Indre By</a><br><a href=../city-kvarter/>Kort over Indre By</a>");
</script>
+
+"""]]
+
+[[!tag forside ]]
diff --git a/test/kort.png b/test/kort.png
new file mode 100644
index 00000000..ceb45c73
--- /dev/null
+++ b/test/kort.png
Binary files differ