Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
monero-site
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiphon
monero-site
Commits
1ebebf34
Verified
Commit
1ebebf34
authored
Feb 05, 2020
by
erciccione
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken meta tags (description, og:title, og:description)
parent
bb514879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
_i18n/en.yml
_i18n/en.yml
+1
-1
_includes/head.html
_includes/head.html
+17
-3
No files found.
_i18n/en.yml
View file @
1ebebf34
...
...
@@ -24,7 +24,7 @@ global:
tags
:
Articles By Tag
wikimeta
:
on Moneropedia, the open encyclopedia of Monero knowledge
tagsmeta
:
All Monero blog articles that are tagged
titlemeta
:
on the home of
Monero, a digital currency that is secure, private, and untraceable
titlemeta
:
Monero, a digital currency that is secure, private, and untraceable
terms
:
Terms
privacy
:
Privacy
untranslated
:
This page is not yet translated. If you would like to help translate it, please see the
...
...
_includes/head.html
View file @
1ebebf34
...
...
@@ -9,11 +9,25 @@
{% elsif page.title contains "titles." %}{% t page.title %} | {% 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.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }}
{% else %}{% t global.titlemeta %}
{% 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: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:title"
content=
"
{% t page.title %}{% if page.entry %}: {% t page.entry %}{% endif %}
{% if page.layout == 'user-guide' %}
{% if page.permalink contains 'developer' %}{% t titles.developerguides %}{% else %}{% t titles.userguides %}{% endif %}: {{ page.title }}
{% elsif page.permalink == 'index.html' %}{% t titles.themoneroproject %}
{% elsif page.layout == 'post' %}{% t titles.blogbytag %}: {{ page.title }}
{% endif %}"
/>
<meta
property=
"og:description"
content=
"
{% if page.layout == 'moneropedia' %}{% t global.wikimeta %}
{% elsif page.summary %}{{ page.summary }}
{% else %}{% t global.titlemeta %}
{% 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 %}"
>
<meta
property=
"og:url"
content=
"https://getmonero.org{{ page.url }}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment