mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-18 10:01:18 +00:00
9d868ef1f0
- Add link to the footer - Add _includes/onion.html (the address will be pulled from here anywere on the website) - Add /onion.txt which is signed by binaryFate and contains the onion addresses - Add onion-location header as a meta tag in _includes/head.html Co-authored-by: binaryFate <binaryfate@getmonero.org>
63 lines
3.1 KiB
HTML
63 lines
3.1 KiB
HTML
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>
|
|
{% if page.entry %}{% t page.entry %} | {% t global.wiki %} | {% t index.page_title %}
|
|
{% elsif tag %}{% t global.tags %}: {{ tag.name }} | {% t index.page_title %}
|
|
{% 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.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="
|
|
{% 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 %}">
|
|
<!-- 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.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.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="{{ site.url }}/{{ page.url }}">
|
|
<meta property="og:type" content="website">
|
|
<meta http-equiv="onion-location" content="{% include onion.html %}" />
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/meta/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/meta/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/meta/favicon-16x16.png">
|
|
<link rel="manifest" href="/meta/manifest.json">
|
|
<link rel="mask-icon" href="/meta/safari-pinned-tab.svg" color="#5bbad5">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<link href="/css/custom.css" rel="stylesheet">
|
|
{% if site.lang == 'ar' %}
|
|
<link href="/css/rtl.css" rel="stylesheet">
|
|
{% endif %}
|
|
|
|
<meta name="msapplication-config" content="/ietemplates/ieconfig.xml">
|
|
|
|
<!-- Feed autodetection -->
|
|
<link type="application/atom+xml" rel="alternate" href="{{ site.baseurl_root }}/feed.xml" title="Monero">
|
|
|
|
</head>
|