diff --git a/plugins/srd-aedifex-router/route.js b/plugins/srd-aedifex-router/route.js
index 1d02c42..cc8ea72 100644
--- a/plugins/srd-aedifex-router/route.js
+++ b/plugins/srd-aedifex-router/route.js
@@ -40,9 +40,18 @@ module.exports = (plugin, app) => {
content = app.dot.tables({...req.params, results, type: req.params.type, name: req.params.name, collection: req.params.collection})
}
+ // build the location
+ let loc = ''+app.live.conf['shortname']+''
+ let crumbs = req.path.split('/')
+ for (let i = 1; i < crumbs.length; i++) {
+ if (crumbs[i] == '') continue
+ loc += ' → '+(crumbs[i].replace('-', ' '))+''
+ }
+
res.render('index', {
content,
menu: app.live.menu,
+ location: loc,
title: 'gear',
www_name: app.live.conf.www_name,
www_copyright: app.live.conf.www_copyright,