mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
added different lang links to head for google
This commit is contained in:
parent
9baea1edc1
commit
673def4f90
2 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,7 @@ module.exports = (app)->
|
|||
|
||||
app.use (req, res, next)->
|
||||
res.locals.translate = req.i18n.translate
|
||||
res.locals.currentUrl = req.originalUrl
|
||||
next()
|
||||
|
||||
app.use (req, res, next)->
|
||||
|
|
|
@ -13,6 +13,10 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|||
link(rel='stylesheet', href='/stylesheets/style.css?fingerprint='+fingerprint('/stylesheets/style.css'))
|
||||
link(href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css",rel="stylesheet")
|
||||
|
||||
|
||||
each subdomainDetails in settings.i18n.subdomainLang
|
||||
link(rel="alternate", href=subdomainDetails.url+currentUrl, hreflang=subdomainDetails.lngCode)
|
||||
|
||||
meta(itemprop="name" ,content="ShareLaTeX - Real Time Online LaTeX Collaborative Editor in Your Browser")
|
||||
meta(itemprop="description", content="Online LaTeX editor for collaborative editing, great for Maths or Sciences. You don't need to install LaTeX so it's great for beginners too.")
|
||||
meta(itemprop="image", content="https://www.sharelatex.com/favicon.ico")
|
||||
|
|
Loading…
Reference in a new issue