summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 3d4bf1cb75..9399d50930 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -19,6 +19,8 @@ function index()
local page = node()
page.lock = true
page.target = alias("freifunk")
+ page.subindex = true
+ page.index = false
local page = node("freifunk")
page.title = "Freifunk"
@@ -27,11 +29,13 @@ function index()
page.setuser = "nobody"
page.setgroup = "nogroup"
page.i18n = "freifunk"
+ page.index = true
local page = node("freifunk", "index")
page.target = template("freifunk/index")
page.title = "Übersicht"
page.order = 10
+ page.indexignore = true
local page = node("freifunk", "index", "contact")
page.target = template("freifunk/contact")