diff --git a/Gemfile b/Gemfile index 9550b5c..bc41118 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ gem "jekyll-theme-chirpy", "~> 7.0", ">= 7.0.1" # установка темы gem 'jekyll-compose', group: [:jekyll_plugins] # создание заготовки поста gem 'jekyll-seo-tag' # добавляет поддержку seo тэгов gem 'jekyll-relative-links' # добовляет относительные ссылки +gem 'jekyll-sitemap' # генератор sitemap.xml group :test do gem "html-proofer", "~> 5.0" diff --git a/_config.yml b/_config.yml index aeecf7e..4fb6583 100644 --- a/_config.yml +++ b/_config.yml @@ -202,6 +202,7 @@ jekyll-archives: plugins: - jekyll-seo-tag - jekyll-relative-links + - jekyll-sitemap # jekyll_compose: # default_front_matter: diff --git a/_posts/2024-09-20-find-poisk-fajlov-i-direktorij.md b/_posts/2024-09-20-find-poisk-fajlov-i-direktorij.md index ccd003a..ed9d0a5 100644 --- a/_posts/2024-09-20-find-poisk-fajlov-i-direktorij.md +++ b/_posts/2024-09-20-find-poisk-fajlov-i-direktorij.md @@ -6,11 +6,10 @@ description: Команда find в Linux используется для пои # image: X975K.jpg categories: - Linux -- Консольные приложения +- Console tags: - linux - find -- поиск - bash date: 2024-09-20 14:43 +0300 --- diff --git a/_posts/2024-09-20-linux-filesystem.md b/_posts/2024-09-20-linux-filesystem.md index 44ba27f..db5e059 100644 --- a/_posts/2024-09-20-linux-filesystem.md +++ b/_posts/2024-09-20-linux-filesystem.md @@ -5,7 +5,7 @@ description: Linux. Справочник. Иерархия файловой си # image: X97LH.jpg categories: - Linux -- Справочник +- TLDR tags: - linux - pocketbook diff --git a/_posts/2024-11-06-curl-rabota-s-http-zaprosami-iz-komandnoj-stroki.md b/_posts/2024-11-06-curl-rabota-s-http-zaprosami-iz-komandnoj-stroki.md index 2b35305..6881878 100644 --- a/_posts/2024-11-06-curl-rabota-s-http-zaprosami-iz-komandnoj-stroki.md +++ b/_posts/2024-11-06-curl-rabota-s-http-zaprosami-iz-komandnoj-stroki.md @@ -4,7 +4,7 @@ title: Curl - работа с HTTP запросами из командной с description: Утилита curl – это мощный инструмент для работы с HTTP-запросами и взаимодействия с различными API categories: - Linux -- Консольные приложения +- Console tags: - linux - curl diff --git a/assets/404.html b/assets/404.html new file mode 100644 index 0000000..af89d6d --- /dev/null +++ b/assets/404.html @@ -0,0 +1,14 @@ +--- +layout: page +title: "404: Page not found" +permalink: /404.html + +redirect_from: + - /norobots/ + - /assets/ + - /posts/ +--- + +{% include lang.html %} + +

{{ site.data.locales[lang].not_found.statement }}

diff --git a/assets/feed.xml b/assets/feed.xml new file mode 100644 index 0000000..d2aad4d --- /dev/null +++ b/assets/feed.xml @@ -0,0 +1,54 @@ +--- +layout: compress +permalink: /feed.xml +# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html +--- + +{% capture source %} + + {{ "/" | absolute_url }} + {{ site.title }} + {{ site.description }} + {{ site.time | date_to_xmlschema }} + + {{ site.social.name }} + {{ "/" | absolute_url }} + + + + Jekyll + © {{ 'now' | date: '%Y' }} {{ site.social.name }} + {{ site.baseurl }}/assets/img/favicons/favicon.ico + {{ site.baseurl }}/assets/img/favicons/favicon-96x96.png + +{% for post in site.posts limit: 5 %} + {% assign post_absolute_url = post.url | absolute_url %} + + {{ post.title }} + + {{ post.date | date_to_xmlschema }} + {% if post.last_modified_at %} + {{ post.last_modified_at | date_to_xmlschema }} + {% else %} + {{ post.date | date_to_xmlschema }} + {% endif %} + {{ post_absolute_url }} + + + {{ post.author | default: site.social.name }} + + + {% if post.categories %} + {% for category in post.categories %} + + {% endfor %} + {% endif %} + + {% include post-description.html max_length=400 %} + + +{% endfor %} + +{% endcapture %} +{{ source | replace: '&', '&' }} diff --git a/assets/robots.txt b/assets/robots.txt new file mode 100644 index 0000000..45c34e0 --- /dev/null +++ b/assets/robots.txt @@ -0,0 +1,10 @@ +--- +permalink: /robots.txt +# The robots rules +--- + +User-agent: * + +Disallow: /norobots/ + +Sitemap: {{ '/sitemap.xml' | absolute_url }}