Unverified Commit 20537007 authored by Riccardo Spagni's avatar Riccardo Spagni
Browse files

metadata fixes, added OpenGraph tags

parent da03d5f4
......@@ -3,10 +3,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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>
<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 %}">
<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="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/main.css?1" rel="stylesheet">
......
......@@ -4,6 +4,7 @@ global:
getting_started: Getting Started
copyright: Copyright
monero_project: The Monero Project
sitename: getmonero.org, The Monero Project
wiki: Moneropedia
tags: Articles By Tag
wikimeta: on Moneropedia, the open encyclopedia of Monero knowledge
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment