Przeglądaj źródła

change the meta tags a little to help with so

Henry Oswald 11 lat temu
rodzic
commit
455d78773e
1 zmienionych plików z 4 dodań i 3 usunięć
  1. 4 3
      services/web/app/views/layout.jade

+ 4 - 3
services/web/app/views/layout.jade

@@ -27,11 +27,11 @@ html(itemscope, itemtype='http://schema.org/Product')
 		meta(itemprop="name", content="ShareLaTeX, the Online LaTeX Editor")
 		
 		-if (typeof(meta) == "undefined")
-			meta(itemprop="description", content="An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.")
+			meta(itemprop="description", name="description", content="An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.")
 		-else
-			meta(itemprop="description", content=meta)
+			meta(itemprop="description", name="description" , content=meta)
 		
-		meta(itemprop="image", content="https://www.sharelatex.com/favicon.ico")
+		meta(itemprop="image", name="image", content="https://www.sharelatex.com/favicon.ico")
 
 		- if (typeof(gaToken) != "undefined")
 			script(type='text/javascript').
@@ -99,6 +99,7 @@ html(itemscope, itemtype='http://schema.org/Product')
 						/127\.0\.0\.1:4001\/isrunning/i,  // Cacaoweb
 						/webappstoolbarba\.texthelp\.com\//i,
 						/metrics\.itunes\.apple\.com\.edgesuite\.net\//i
+						/a\.disquscdn\.com/i
 					],
 					shouldSendCallback: function(data) {
 						// only send a fraction of errors