1

Any idea why my page title is displaying twice? I am running a vanilla mean.io on openshift wih minor modifications other than basic modifications to a few values from default to custom (app name, meta tags such as keywords and description). Thanks in advance.

/nodejs/packages/system/server/views/includes/head.html: 6: {{appName}} - {{title}}

Ronnie Royston
  • 16,778
  • 6
  • 77
  • 91

1 Answers1

2

FYI - I simply deleted "{{appName}} -" from line 6 of

/nodejs/packages/system/server/views/includes/head.html

It appears that the tag is populated with the value of line 40 from

/nodejs/config/env/production.js:

Ronnie Royston
  • 16,778
  • 6
  • 77
  • 91
  • It comes from this btw `app.use(helpers(config.app.name))` `view-helpers` package sets some things up on `res.locals` – timelfelt Aug 19 '16 at 00:48