_includes/head.html: fix the robots tag

I am surprised it did anything
This commit is contained in:
Aminda Suomalainen 2024-06-02 13:50:48 +03:00
parent 40924ab27b
commit 663b769cd6
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

3
_includes/head.html vendored
View File

@ -2,7 +2,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="nofollow, {{ page.robots | default: site.robots | default: "nofollow" }}">
<meta name="robots" content="nofollow">
<meta name="robots" content="{% if page.robots %}{{ page.robots }} {% else %}{{ site.robots | default: 'nofollow' }}{% endif %}">
<meta name="msvalidate.01" content="DDF472BEC8E65C680D65A24256C33B24">
<link rel="icon prefetch" href="{{site.icon}}">
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title | strip_html }}{% else %}{{ site.title }}{% endif %}</title>