summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-07-11 10:04:26 +0200
committerJonas Smedegaard <dr@jones.dk>2017-07-11 10:04:26 +0200
commitd691f20cfc2041dc563cd716277e23922d6f2d8e (patch)
treefc53b778f7e68c5109d1c1d333c55337a8cabe32
parent4d7ac90a9cd4c838c4b2cff0d89770dc99548648 (diff)
Brug skabeloner.
-rw-r--r--index.mdwn28
-rw-r--r--templates/events.mdwn4
-rw-r--r--templates/menusection.mdwn4
-rw-r--r--templates/timespan.mdwn4
4 files changed, 25 insertions, 15 deletions
diff --git a/index.mdwn b/index.mdwn
index 5c7b015..94de09d 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -4,8 +4,7 @@ Madpandekager og dessertpandekager
## Åbningstider
-### Juli
-
+[[!template id=timespan title=Juli content="""
Fredage
: kl. 12-20
@@ -18,9 +17,9 @@ Søndage
Mandage
: kl. 17-20
+"""]]
-### August
-
+[[!template id=timespan title=August content="""
Fredage
: kl. 17-20
@@ -32,9 +31,9 @@ Søndage
Mandage
: kl. 17-20
+"""]]
-### September
-
+[[!template id=timespan title=September content="""
Fredage
: kl. 17-20
@@ -43,15 +42,13 @@ Lørdage
Søndage (ændres evt.)
: kl. 14-20
+"""]]
-### Særlige arrangementer
-
-[[!inline pages="tagged(arrangement)" archive="yes" show=3 template="titlepage" sort="-meta(date)" guid=tag:langdalgaard.dk/arrangement]]
+[[!template id=events title="Særlige arrangementer"]]
## Menu
-### Den sunde
-
+[[!template id=menusection title="Den sunde" content="""
Flødestuvet laks
: 65,-
@@ -66,9 +63,9 @@ Ost, kalkun, pesto, salat
Ratatouille, frisk mozzarella (vegetar)
: 65,-
+"""]]
-### Den søde
-
+[[!template id=menusection title="Den søde" content="""
Banan, is og marmelade
: 50,-
@@ -83,9 +80,9 @@ Nutella, banan
Grand Marnier, sukker
: 45,-
+"""]]
-### Drikkevarer
-
+[[!template id=menusection title="Drikkevarer" first=yes content="""
Frugtmost fra Brd. Adelhart
: 25,-
@@ -106,3 +103,4 @@ Kaffe, Tassimo, 1 kop original
Kaffe, friskmalet Madam Blå stempelkande
: 60,-
+"""]]
diff --git a/templates/events.mdwn b/templates/events.mdwn
new file mode 100644
index 0000000..cb1501d
--- /dev/null
+++ b/templates/events.mdwn
@@ -0,0 +1,4 @@
+<div class="break">
+<h3><TMPL_VAR title></h3>
+[[!inline pages="tagged(arrangement)" archive="yes" show=3 template="titlepage" sort="-meta(date)" guid=tag:langdalgaard.dk/arrangement]]
+</div>
diff --git a/templates/menusection.mdwn b/templates/menusection.mdwn
new file mode 100644
index 0000000..6466539
--- /dev/null
+++ b/templates/menusection.mdwn
@@ -0,0 +1,4 @@
+<div class="menusection<TMPL_IF first> break</TMPL_IF>">
+<h3><TMPL_VAR title></h3>
+<TMPL_VAR content>
+</div>
diff --git a/templates/timespan.mdwn b/templates/timespan.mdwn
new file mode 100644
index 0000000..3481b43
--- /dev/null
+++ b/templates/timespan.mdwn
@@ -0,0 +1,4 @@
+<div class="timespan">
+<h3><TMPL_VAR title></h3>
+<TMPL_VAR content>
+</div>