mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 12:09:49 +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
|
@ -7,6 +7,12 @@
|
|||
<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
|
||||
|
|
Loading…
Reference in a new issue