1
0
mirror of https://github.com/Mikaela/cv.git synced 2024-11-26 10:29:27 +01:00

fix robots handling

This commit is contained in:
Aminda Suomalainen 2024-06-02 13:34:35 +03:00
parent dde3294601
commit 6a19e95d03
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 5 additions and 2 deletions

3
404.md
View File

@ -1,7 +1,8 @@
--- ---
layout: page layout: page
permalink: /404.html permalink: /404.html
sitemap: true robots: noindex, nofollow, noai
sitemap: false
excerpt: "404" excerpt: "404"
lang: fi lang: fi
--- ---

View File

@ -7,6 +7,7 @@ date: 2024-05-28T08:59:32+03:00
lang: en lang: en
permalink: /en/index.html permalink: /en/index.html
redirect_from: /en/html redirect_from: /en/html
robots: noai, nofollow
--- ---
# Aminda Suomalainen # Aminda Suomalainen

View File

@ -1,6 +1,6 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="robots" content="noai"> <meta name="robots" content="{{ page.robots }}">
<title>{{site.title}} {{ page.title }} — {{site.author}}</title> <title>{{site.title}} {{ page.title }} — {{site.author}}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}"> <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines }}{% endif %}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">

View File

@ -12,6 +12,7 @@ redirect_from:
- fi/index.html - fi/index.html
- fi/README.html - fi/README.html
- README.html - README.html
robots: nofollow, noai
--- ---
# Aminda Suomalainen # Aminda Suomalainen