mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 11:40:02 +00:00
render template name in CanonicalPage
This commit is contained in:
parent
b41256b599
commit
4c073ff285
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ module.exports = TemplatesWebController =
|
|||
if err?
|
||||
logger.err err:err, user_id:user_id, template_id:template_id, "something went wrong in _renderCanonicalPage"
|
||||
return res.send 500
|
||||
data.title = data?.template?.name
|
||||
data.tag = null
|
||||
res.render "templates/template", data
|
||||
|
||||
|
|
Loading…
Reference in a new issue