feat(controls): styled custom header dropdown with helptext and smart positioning (#13)
This commit is contained in:
@@ -5,7 +5,7 @@ const router = express.Router()
|
||||
|
||||
/* GET the home landing page. */
|
||||
router.get('/', catchErrors(async function (req, res, next) {
|
||||
const landingPage = await getLandingPage('home', req.query.locale, req.query.api)
|
||||
const landingPage = await getLandingPage('home', res.locals.currentLocale.code, res.locals.currentLocale.id)
|
||||
let title = landingPage.fields.title
|
||||
if (!title || landingPage.fields.slug === 'home') {
|
||||
title = 'The Example App'
|
||||
|
||||
Reference in New Issue
Block a user