diff --git a/services/web/app/views/layout.jade b/services/web/app/views/layout.jade index 69058f4266..c3f624a33d 100644 --- a/services/web/app/views/layout.jade +++ b/services/web/app/views/layout.jade @@ -59,12 +59,12 @@ html(itemscope, itemtype='http://schema.org/Product') indexes:!{JSON.stringify(settings.algolia.indexes)} } - - if (typeof(settings.apis) != "undefined" && typeof(settings.apis.templates_api) != "undefined") + - if (typeof(settings.templates) != "undefined") script. window.sharelatex.templates = { - user_id : '!{settings.apis.templates_api.user_id}', - cdnDomain : '!{settings.apis.templates_api.cdnDomain}', - indexName : '!{settings.apis.templates_api.indexName}' + user_id : '!{settings.templates.user_id}', + cdnDomain : '!{settings.templates.cdnDomain}', + indexName : '!{settings.templates.indexName}' } body