summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2021-03-02 22:09:49 +0100
committerSiri Reiter <siri@jones.dk>2021-03-02 22:09:49 +0100
commitc6529930186fbb999ed1985f2cc98bcd9bbf1de9 (patch)
treee885fd72d726239cf628388770a7ba862121604f
parentf284fcea79f81fc25e3237e9ac57d99a8b0d029a (diff)
add grid templates and replace columns template in tour lists
-rw-r--r--templates/grid-item.mdwn3
-rw-r--r--templates/grid.mdwn3
-rw-r--r--tours.mdwn58
3 files changed, 59 insertions, 5 deletions
diff --git a/templates/grid-item.mdwn b/templates/grid-item.mdwn
new file mode 100644
index 00000000..fd2226ae
--- /dev/null
+++ b/templates/grid-item.mdwn
@@ -0,0 +1,3 @@
+<div class="grid-item">
+<TMPL_VAR content>
+</div>
diff --git a/templates/grid.mdwn b/templates/grid.mdwn
new file mode 100644
index 00000000..c75a9fe6
--- /dev/null
+++ b/templates/grid.mdwn
@@ -0,0 +1,3 @@
+<div class="grid">
+<TMPL_VAR content>
+</div>
diff --git a/tours.mdwn b/tours.mdwn
index b360ce0f..e8db26da 100644
--- a/tours.mdwn
+++ b/tours.mdwn
@@ -4,27 +4,35 @@ Find din tur under bydel og tema. Klik til turen før du bestiller.
##Det indre København
-[[!template id=columns content='''
+[[!template id=grid content='''
+[[!template id=grid-item content=<<GRIDITEM
### [[Den indre by|city]]
[[!img oversigtfruetaarn2_x100.jpg link=city class=flex]]
[[!toggle id="city" text="Fold liste ud" ]]
[[!toggleable id="city" text="""[[!inline pages="tagged(city) and tagged(ture) and !tagged(tema) and !tagged(historie) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Christianshavn og havnen|havnen]]
[[!img chrhavn_bogmrk.jpg class=flex link=havnen]]
[[!toggle id="havnen" text="Fold liste ud" ]]
[[!toggleable id="havnen" text="""[[!inline pages="tagged(ture) and tagged(havnen) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Slotsholmen]]
[[!img slotsholmen_100px.jpg class=flex link=slotsholmen]]
[[!toggle id="slotsholmen" text="Fold liste ud" ]]
-[[!toggleable id="slotsholmen" text="""[[!inline pages="tagged(ture) and tagged(slotsholmen) and !tagged(skole)" archive))=yes]]"""]]
+[[!toggleable id="slotsholmen" text="""[[!inline pages="tagged(ture) and tagged(slotsholmen) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Nørrevold og Østervold|voldkvarter]]
[[!img vkort_palmehus_x100.jpg class=flex link=voldkvarter]]
[[!toggle id="voldkvarter" text="Fold liste ud" ]]
[[!toggleable id="voldkvarter" text="""[[!inline pages="tagged(ture) and tagged(voldkvarter) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
''']]
@@ -32,52 +40,70 @@ Find din tur under bydel og tema. Klik til turen før du bestiller.
##Københavns kvarterer
-[[!template id=columns content='''
+[[!template id=grid content='''
+[[!template id=grid-item content=<<GRIDITEM
### [[Vesterbro]]
[[!img Istedgade_banner_x100.jpg link=vesterbro class=flex]]
[[!toggle id="vesterbro" text="Fold liste ud" ]]
[[!toggleable id="vesterbro" text="""[[!inline pages="tagged(ture) and tagged(vesterbro) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Nørrebro|norrebro]]
[[!img superkile_banner_x100.jpg link=norrebro class=flex]]
[[!toggle id="norrebro" text="Fold liste ud" ]]
[[!toggleable id="norrebro" text="""[[!inline pages="tagged(ture) and tagged(norrebro) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Østerbro|osterbro]]
[[!img vkort_plakatpost_x100.jpg link=osterbro class=flex]]
[[!toggle id="osterbro" text="Fold liste ud" ]]
[[!toggleable id="osterbro" text="""[[!inline pages="tagged(ture) and tagged(osterbro) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Frederiksberg]]
[[!img oversigtfrederiksberg_x100.jpg link=frederiksberg class=flex]]
[[!toggle id="frederiksberg" text="Fold liste ud" ]]
[[!toggleable id="frederiksberg" text="""[[!inline pages="tagged(ture) and tagged(frederiksberg) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Bispebjerg og Nordvest|bispebjerg]]
[[!img bispebjergx100.jpg link=bispebjerg class=flex]]
[[!toggle id="bispebjerg" text="Fold liste ud"]]
[[!toggleable id="bispebjerg" text"""[[!inline pages=tagged(ture) and tagged(bispebjerg) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Sydhavnen og Kgs. Enghave|sydhavnen]]
[[!img vkort_slusebro2_x100.jpg link=sydvest class=flex]]
[[!toggle id="sydvest" text="Fold liste ud" ]]
[[!toggleable id="sydvest" text="""[[!inline pages="tagged(ture) and tagged(sydhavnen) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Islands Brygge|islandsbrygge]]
[[!img brygge_mod_sebbygning_x100.jpg link=islandsbrygge class=flex]]
[[!toggle id="bryggen" text="Fold liste ud" ]]
[[!toggleable id="bryggen" text="""[[!inline pages="tagged(ture) and tagged(islandsbrygge) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Amager]]
[[!img amager/oversigtamager_x100.jpg link=amager class=flex]]
[[!toggle id="amager" text="Fold liste ud" ]]
[[!toggleable id="amager" text="""[[!inline pages="tagged(ture) and tagged(amager) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Valby]]
[[!img nordisk-film_x100.jpg link=valby class=flex]]
[[!toggle id="valby" text="Fold liste ud" ]]
[[!toggleable id="valby" text="""[[!inline pages="tagged(ture) and tagged(valby) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
''']]
@@ -85,17 +111,21 @@ Find din tur under bydel og tema. Klik til turen før du bestiller.
##Ture i regionen
-[[!template id=columns content='''
+[[!template id=grid content='''
+[[!template id=grid-item content=<<GRIDITEM
### [[Nordsjælland|region]]
[[!img kronbogmist_x100.jpg class=flex link=region]]
[[!toggle id="region" text="Fold liste ud" ]]
[[!toggleable id="region" text="""[[!inline pages="tagged(ture) and tagged(region) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Malmö|malmoe]]
[[!img oversigtmalmo_flensborghus_x100.jpg class=flex link=malmoe]]
[[!toggle id="malmoe" text="Fold liste ud" ]]
[[!toggleable id="malmoe" text="""[[!inline pages="tagged(ture) and tagged(malmoe) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
''']]
@@ -103,49 +133,67 @@ Find din tur under bydel og tema. Klik til turen før du bestiller.
##Temature
-[[!template id=columns content='''
+[[!template id=grid content='''
+[[!template id=grid-item content=<<GRIDITEM
### [[Historiske ture|historieture]]
[[!img vkort_gjeddeskort_x100.jpg link=historieture class=flex]]
[[!toggle id="historie" text="Fold liste ud" ]]
[[!toggleable id="historie" text="""[[!inline pages="tagged(ture) and tagged(historie) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Byudvikling]]
[[!img oversigtbyudvikling_x100.jpg link=byudvikling class=flex]]
[[!toggle id="byudvikling" text="Fold liste ud" ]]
[[!toggleable id="byudvikling" text="""[[!inline pages="tagged(byudvikling) and tagged(ture) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Cykelture]]
[[!img jagtvejbred_x100.jpg link=cykelture class=flex]]
[[!toggle id="cykelture" text="Fold liste ud" ]]
[[!toggleable id="cykelture" text="""[[!inline pages="tagged(cykel) and tagged(ture) and !tagged(skole)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Ture til søs|sejlture]]
[[!img oversigtturetilsoes_x100.jpg link=sejlture class=flex]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Beerwalks|beerwalk]]
[[!img beerwalkstemning_x100.jpg class=flex link=beerwalk]]
[[!toggle id="beerwalk" text="Fold liste ud" ]]
[[!toggleable id="beerwalk" text="""[[!inline pages="tagged(ture) and tagged(beerwalk)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Byens forfattere og digtere|litteratur]]
[[!toggle id="litteratur" text="Fold liste ud" ]]
[[!toggleable id="litteratur" text="""[[!inline pages="tagged(ture) and tagged(litteratur)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[H.C. Andersen|hcandersen]]
[[!img hca_100px.jpg class=flex link=hcandersen]]
[[!toggle id="hcandersen" text="Fold liste ud" ]]
[[!toggleable id="hcandersen" text="""[[!inline pages="tagged(ture) and tagged(hc_andersen)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Juleture|juleevent]]
[[!img oversigtjuleture_x100.jpg class=flex link=juleevent]]
[[!toggle id="jul" text="Fold liste ud" ]]
[[!toggleable id="jul" text="""[[!inline pages="tagged(ture) and tagged(jul)" archive=yes]]"""]]
+GRIDITEM]]
+[[!template id=grid-item content=<<GRIDITEM
### [[Norske ture i København|norsketure]]
[[!img nyhavnisol_x100.jpg class=flex link=norsketure]]
[[!toggle id="norsk" text="Fold liste ud" ]]
[[!toggleable id="norsk" text="""[[!inline pages="tagged(ture) and tagged(norsk)" archive=yes]]"""]]
+GRIDITEM]]
''']]
---
## [[Skoler og gymnasier|skole]]