revuo-weekly/_includes/head.html

114 lines
3.5 KiB
HTML
Raw Normal View History

<head>
<!-- Meta -->
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="generator" content="Jekyll">
<title>{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="Revuo Monero is a weekly newsletter where you can find find the most recent Monero news.">
<meta name="keywords" content="monero, xmr, bitmonero, cryptocurrency">
2019-07-05 03:53:50 +02:00
<link rel="icon" type="image/png" sizes="32x32" href="/img/revuo-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
2022-04-01 20:14:08 +02:00
<meta name="application-name" content="Revuo Monero"/>
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#193e4c">
<meta name="apple-mobile-web-app-title" content="Revuo Monero">
<meta name="apple-mobile-web-app-status-bar-style" content="#193e4c">
2019-11-20 05:42:30 +01:00
{% if page.path contains '_posts' %}
2022-02-01 18:38:06 +01:00
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
2019-11-20 05:42:30 +01:00
{%elsif page.periodical == "yes"%}
2022-02-01 18:38:06 +01:00
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/periodicals/" }}" />
2019-11-20 05:42:30 +01:00
{%else%}
2022-02-01 18:38:06 +01:00
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
2019-11-20 05:42:30 +01:00
{%endif%}
2022-02-02 22:24:29 +01:00
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
2022-02-02 23:05:02 +01:00
<meta name="twitter:image" content="{% if page.path contains '_posts' %}https://revuo-xmr.com{{ page.image }}{% else %}https://revuo-xmr.com/img/revuo-monero.png{% endif %}">
2022-02-02 22:48:04 +01:00
<meta property="og:site_name" content="{{ site.title }}" />
2022-02-02 22:24:29 +01:00
<meta property="og:title" content="{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
2022-02-02 23:05:02 +01:00
<meta property="og:image" content="{% if page.path contains '_posts' %}https://revuo-xmr.com{{ page.image }}{% else %}https://revuo-xmr.com/img/revuo-monero.png{% endif %}" />
2022-02-02 22:58:44 +01:00
<!-- CSS & fonts -->
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl | replace: '//', '/' }}">
<!-- RSS -->
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" />
2022-04-01 20:02:53 +02:00
<!-- Dark Mode Button -->
<style>
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
2022-04-02 20:13:52 +02:00
margin-top: 12px;
2022-04-02 20:11:56 +02:00
right: 90px;
2022-04-02 20:08:06 +02:00
float: right;
2022-04-01 20:02:53 +02:00
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
table {
margin-top: 34px;
}
td {
height: 50px;
vertical-align: middle;
}
</style>
</head>