mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-17 08:18:03 +00:00
commit
1d0e0acf21
1 changed files with 3 additions and 3 deletions
|
@ -30,16 +30,16 @@
|
|||
{% endif %}">
|
||||
<!-- If the page specifies a dedicated image which is not an SVG file, we use that one. Otherwise we use the classic Monero logo -->
|
||||
<meta property="og:image" content="{% capture og_image %}
|
||||
{% capture monero_logo %}{{ site.baseurl}}/press-kit/symbols/monero-symbol-on-white-480.png{% endcapture %}
|
||||
{% capture monero_logo %}{{ site.url }}/press-kit/symbols/monero-symbol-on-white-480.png{% endcapture %}
|
||||
{% if page.image %}
|
||||
{% if page.image contains '.svg' or page.image contains '.SVG' %}{{ monero_logo }}
|
||||
{% else %}{{ site.baseurl}}{{ page.image }}
|
||||
{% else %}{{ site.url }}/{{ page.image }}
|
||||
{% endif %}
|
||||
{% else %}{{ monero_logo }}
|
||||
{% endif %}
|
||||
{% endcapture %}{{ og_image | strip }}">
|
||||
<meta property="og:site_name" content="{% t global.sitename %}">
|
||||
<meta property="og:url" content="https://getmonero.org{{ page.url }}">
|
||||
<meta property="og:url" content="{{ site.url }}/{{ page.url }}">
|
||||
<meta property="og:type" content="website">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/meta/apple-touch-icon.png">
|
||||
|
|
Loading…
Reference in a new issue