fix robots

This commit is contained in:
Aminda Suomalainen 2024-06-03 11:02:14 +03:00
parent 3ad69d3912
commit 27ab89be5f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 7 additions and 2 deletions

View File

@ -21,6 +21,7 @@ plugins:
sitemap:
file: "/sitemap.xml"
include: [robots.txt]
robots: nofollow, noai
icon: https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png
markdown: kramdown
kramdown:

View File

@ -5,7 +5,8 @@
<!---->
{%- seo -%}
<!---->
<meta name="robots" content="{% if page.robots %}{{ page.robots }} {% else %}{{ site.robots }} {% endif %}">
<link rel="icon" href="https://github.com/ProgVal/Supybot-website/raw/master/static/logo.png">
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
</head>

View File

@ -1,4 +1,7 @@
User-agent: *
Allow: /$
Allow: /*.html$
Allow: /robots.txt
Allow: /sitemap.xml
Disallow: /
Noindex: /
Sitemap: https://supybot.mikaela.info/sitemap.xml