mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-17 08:18:03 +00:00
metadata fixes, added OpenGraph tags
This commit is contained in:
parent
da03d5f480
commit
20537007e3
2 changed files with 9 additions and 2 deletions
|
@ -3,10 +3,16 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>{% if page.entry %} {{ page.entry }} | {% t global.wiki %} | {% t index.page_title %} {% elsif tag %} {% t global.tags %}: {{ tag.name }} | {% t index.page_title %} {% elsif page.title %} {{ page.title }} | {% t index.page_title %} {% else %} {% t index.page_title %} {% endif %}</title>
|
<title>{% if page.entry %}{{ page.entry }} | {% t global.wiki %} | {% t index.page_title %}{% elsif tag %}{% t global.tags %}: {{ tag.name }} | {% t index.page_title %}{% elsif page.title %}{{ page.title }} | {% t index.page_title %}{% else %}{% t index.page_title %}{% endif %}</title>
|
||||||
<meta name="description" content="{% if page.entry %} {{ page.entry }}: {{ page.summary }} [{% t global.wikimeta %}] {% elsif tag %} {% t global.tagsmeta %}: {{ tag.name }} {% elsif page.meta %} {{ page.meta }} {% elsif page.title %} {{ page.title }} [{% t global.titlemeta %}] {% else %} {{ site.description }} {% endif %}">
|
<meta name="description" content="{% if page.entry %}{{ page.entry }}: {{ page.summary }} [{% t global.wikimeta %}]{% elsif tag %}{% t global.tagsmeta %}: {{ tag.name }}{% elsif page.meta %}{{ page.meta }}{% elsif page.title %}{{ page.title }} [{% t global.titlemeta %}]{% else %}{{ site.description }}{% endif %}">
|
||||||
<meta name="keywords" content="{{ site.keywords }}">
|
<meta name="keywords" content="{{ site.keywords }}">
|
||||||
|
|
||||||
|
<meta property="og:title" content="{% if page.entry %}{% t global.wiki %}: {{ page.entry }}{% elsif tag %}{% t global.tags %}: {{ tag.name }}{% elsif page.title %}{% t global.monero %}: {{ page.title }}{% else %}{% t index.page_title %}{% endif %}"/>
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:description" content="{% if page.entry %}{{ page.entry }}: {{ page.summary }} [{% t global.wikimeta %}]{% elsif tag %}{% t global.tagsmeta %}: {{ tag.name }}{% elsif page.meta %}{{ page.meta }}{% elsif page.title %}{{ page.title }} [{% t global.titlemeta %}]{% else %}{{ site.description }}{% endif %}">
|
||||||
|
<meta property="og:image" content="{% if page.icon %}http://static.getmonero.org/images/opengraph/{{ page.icon }}.png{% else %}http://static.getmonero.org/images/opengraph/logo.png{% endif %}">
|
||||||
|
<meta property="og:site_name" content="{% t global.sitename %}">
|
||||||
|
|
||||||
<link href="//static.getmonero.org/css/bootstrap.min.css" rel="stylesheet">
|
<link href="//static.getmonero.org/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="//static.getmonero.org/css/main.css?1" rel="stylesheet">
|
<link href="//static.getmonero.org/css/main.css?1" rel="stylesheet">
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ global:
|
||||||
getting_started: Getting Started
|
getting_started: Getting Started
|
||||||
copyright: Copyright
|
copyright: Copyright
|
||||||
monero_project: The Monero Project
|
monero_project: The Monero Project
|
||||||
|
sitename: getmonero.org, The Monero Project
|
||||||
wiki: Moneropedia
|
wiki: Moneropedia
|
||||||
tags: Articles By Tag
|
tags: Articles By Tag
|
||||||
wikimeta: on Moneropedia, the open encyclopedia of Monero knowledge
|
wikimeta: on Moneropedia, the open encyclopedia of Monero knowledge
|
||||||
|
|
Loading…
Reference in a new issue