revuo-weekly/_includes/head.html

106 lines
3.2 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-04 21:53:50 -04: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">
2019-11-19 23:42:30 -05:00
{% if page.path contains '_posts' %}
2022-02-01 12:38:06 -05:00
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
2019-11-19 23:42:30 -05:00
{%elsif page.periodical == "yes"%}
2022-02-01 12:38:06 -05:00
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/periodicals/" }}" />
2019-11-19 23:42:30 -05:00
{%else%}
2022-02-01 12:38:06 -05:00
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
2019-11-19 23:42:30 -05:00
{%endif%}
2022-02-02 16:24:29 -05: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 17:05:02 -05: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 16:48:04 -05:00
<meta property="og:site_name" content="{{ site.title }}" />
2022-02-02 16:24:29 -05:00
<meta property="og:title" content="{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
2022-02-02 17:05:02 -05: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 16:58:44 -05: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 14:02:53 -04:00
<!-- Dark Mode Button -->
<style>
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
margin-top: 0px;
}
.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>