fix canonical references

This commit is contained in:
rottenwheel 2023-06-29 22:20:47 +00:00 committed by GitHub
parent 3e49fcc857
commit 2121d84efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,14 +15,6 @@
<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">
{% if page.path contains '_posts' %}
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
{%elsif page.periodical == "yes"%}
<link rel="canonical" href="{{ page.issuenumber | replace:'index.html','' | prepend: "https://revuo-xmr.com/periodicals/" }}" />
{%else%}
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: "https://revuo-xmr.com/" }}" />
{%endif%}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{%if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<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 %}">