|
@@ -7,6 +7,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
// Stop superfish from loading
|
|
// Stop superfish from loading
|
|
|
window.similarproducts = true
|
|
window.similarproducts = true
|
|
|
style [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {display: none !important; display: none; }
|
|
style [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {display: none !important; display: none; }
|
|
|
|
|
+ style #groove-button { display:none;}
|
|
|
|
|
|
|
|
-if (typeof(gaExperiments) != "undefined")
|
|
-if (typeof(gaExperiments) != "undefined")
|
|
|
|!{gaExperiments}
|
|
|!{gaExperiments}
|
|
@@ -25,6 +26,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
each subdomainDetails in settings.i18n.subdomainLang
|
|
each subdomainDetails in settings.i18n.subdomainLang
|
|
|
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
|
|
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
|
|
|
|
|
|
|
|
|
|
+
|
|
|
meta(itemprop="name", content="ShareLaTeX, the Online LaTeX Editor")
|
|
meta(itemprop="name", content="ShareLaTeX, the Online LaTeX Editor")
|
|
|
|
|
|
|
|
-if (typeof(meta) == "undefined")
|
|
-if (typeof(meta) == "undefined")
|
|
@@ -60,8 +62,8 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
sixpackDomain: '#{settings.sixpack.domain}'
|
|
sixpackDomain: '#{settings.sixpack.domain}'
|
|
|
};
|
|
};
|
|
|
window.systemMessages = !{JSON.stringify(systemMessages).replace(/\//g, '\\/')};
|
|
window.systemMessages = !{JSON.stringify(systemMessages).replace(/\//g, '\\/')};
|
|
|
- window.ab = {}
|
|
|
|
|
- window.user_id = '#{getLoggedInUserId()}'
|
|
|
|
|
|
|
+ window.ab = {};
|
|
|
|
|
+ window.user_id = '#{getLoggedInUserId()}';
|
|
|
|
|
|
|
|
- if (typeof(settings.algolia) != "undefined")
|
|
- if (typeof(settings.algolia) != "undefined")
|
|
|
script.
|
|
script.
|
|
@@ -80,6 +82,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
body
|
|
body
|
|
|
|
|
+
|
|
|
- if(typeof(suppressSystemMessages) == "undefined")
|
|
- if(typeof(suppressSystemMessages) == "undefined")
|
|
|
.system-messages(
|
|
.system-messages(
|
|
|
ng-cloak
|
|
ng-cloak
|
|
@@ -118,21 +121,14 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
"paths" : {
|
|
"paths" : {
|
|
|
"moment": "libs/moment-2.7.0"
|
|
"moment": "libs/moment-2.7.0"
|
|
|
}
|
|
}
|
|
|
- };
|
|
|
|
|
|
|
+ };
|
|
|
script(
|
|
script(
|
|
|
data-main=jsPath+'main.js',
|
|
data-main=jsPath+'main.js',
|
|
|
baseurl=jsPath,
|
|
baseurl=jsPath,
|
|
|
src=jsPath+'libs/require.js?fingerprint='+fingerprint(jsPath + 'libs/require.js')
|
|
src=jsPath+'libs/require.js?fingerprint='+fingerprint(jsPath + 'libs/require.js')
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
- - if (typeof(tenderUrl) != "undefined")
|
|
|
|
|
- script(src="https://#{tenderUrl}/tender_widget.js" )
|
|
|
|
|
- script(type="text/javascript").
|
|
|
|
|
- Tender = {
|
|
|
|
|
- hideToggle: true,
|
|
|
|
|
- widgetToggles: $(".js-tender-widget"),
|
|
|
|
|
- category: "questions"
|
|
|
|
|
- };
|
|
|
|
|
|
|
+ include contact-us-modal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|