SEO index fixes

This commit is contained in:
2026-06-11 21:00:00 +05:00
parent 7c8524066b
commit 99cf811693
9 changed files with 20 additions and 6 deletions

View File

@@ -125,6 +125,8 @@ final class article extends core
$page = $this->view->render( $page = $this->view->render(
'pages/system/superpack/create.html', 'pages/system/superpack/create.html',
[ [
'title' => $title,
'description' => $text,
'uri' => 'https://' . DOMAIN . "/system/superpack/create", 'uri' => 'https://' . DOMAIN . "/system/superpack/create",
'smartphone' => $this->request->smartphone, 'smartphone' => $this->request->smartphone,
'tablet' => $this->request->tablet 'tablet' => $this->request->tablet

View File

@@ -260,6 +260,8 @@ final class index extends core
$page = $this->view->render( $page = $this->view->render(
'pages/index.html', 'pages/index.html',
[ [
'title' => 'Разработка сайтов в Перми',
'description' => 'Чистый код, авангардный дизайн, крепкий бустинг и юридическая броня! Заходи на сайт и посчитай проект за 2 минуты! Рвём шаблоны!',
'uri' => 'https://' . DOMAIN, 'uri' => 'https://' . DOMAIN,
'smartphone' => $this->request->smartphone, 'smartphone' => $this->request->smartphone,
'tablet' => $this->request->tablet 'tablet' => $this->request->tablet

View File

@@ -48,6 +48,8 @@ final class offer extends core
$page = $this->view->render( $page = $this->view->render(
'pages/offer.html', 'pages/offer.html',
[ [
'title' => 'Публичная оферта',
'description' => 'Заходи на сайт и изучи нашу оферту. Тут есть на что посмотреть!',
'uri' => 'https://' . DOMAIN . '/offer', 'uri' => 'https://' . DOMAIN . '/offer',
'smartphone' => $this->request->smartphone, 'smartphone' => $this->request->smartphone,
'tablet' => $this->request->tablet 'tablet' => $this->request->tablet

View File

@@ -1,3 +1,5 @@
User-agent: * User-agent: *
Host: https://kodorvan.tech
Allow: /
Disallow: /profile/ Disallow: /profile/
Sitemap: https://kodorvan.tech/sitemap.xml Sitemap: https://kodorvan.tech/sitemap.xml

View File

@@ -2,13 +2,13 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://kodorvan.tech</loc> <loc>https://kodorvan.tech</loc>
<lastmod>2026-04-18</lastmod> <lastmod>2026-06-11</lastmod>
<changefreq>weekly</changefreq> <changefreq>weekly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://kodorvan.tech/offer</loc> <loc>https://kodorvan.tech/offer</loc>
<lastmod>2026-04-18</lastmod> <lastmod>2026-06-11</lastmod>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>

View File

@@ -5,12 +5,14 @@
<head> <head>
{% use '/themes/default/head.html' with meta as head_meta, css as head_css %} {% use '/themes/default/head.html' with meta as head_meta, css as head_css %}
<title>{% block title %}{% endblock %} @Кодорвань</title>
{{ block('head_meta') }} {{ block('head_meta') }}
{% block meta %} {% block meta %}
{% endblock %} {% endblock %}
{{ block('head_css') }} {{ block('head_css') }}
{% block css %} {% block css %}
{% endblock %} {% endblock %}
{% include '/metrics/yandex.html' %} {% include '/metrics/yandex.html' %}

View File

@@ -3,9 +3,9 @@
<link rel="canonical" href="{{ uri ?? (domain ? ('https://' ~ domain) : '') }}"> <link rel="canonical" href="{{ uri ?? (domain ? ('https://' ~ domain) : '') }}">
<title>{{ title ?? 'Кодорвань - разработка сайтов в Перми' }}</title> <title>{% if not empty title %}{{ title }} @Кодорвань{% else %}Кодорвань{% endif %}</title>
<meta name="application-name" content="Кодорвань"> <meta name="application-name" content="Кодорвань">
<meta name="description" content="Чистый код, авангардный дизайн, крепкий бустинг и юридическая броня! Заходи на сайт и посчитай проект за 2 минуты! Рвём шаблоны!"> <meta name="description" content="{% if not empty description %}{{ description }}{% else %}Чистый код, авангардный дизайн, крепкий бустинг и юридическая броня! Заходи на сайт и посчитай проект за 2 минуты! Рвём шаблоны!{% endif %}">
<meta name="author" content="Арсен Мирзаев Татьяно-Мурадович"> <meta name="author" content="Арсен Мирзаев Татьяно-Мурадович">
<meta name="robots" content="index, follow"> <meta name="robots" content="index, follow">

View File

@@ -1,5 +1,7 @@
{% extends "/themes/default/index.html" %} {% extends "/themes/default/index.html" %}
{% block title %}{{ article.head.title }}{% endblock %}
{% block css %} {% block css %}
{{ parent() }} {{ parent() }}

View File

@@ -1,5 +1,7 @@
{% extends "/themes/default/index.html" %} {% extends "/themes/default/index.html" %}
{% block title %}Публичная оферта{% endblock %}
{% block css %} {% block css %}
{{ parent() }} {{ parent() }}