-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
установлен плагин для генерации карты сайта
- Loading branch information
1 parent
1b2119c
commit 147e31e
Showing
8 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
layout: page | ||
title: "404: Page not found" | ||
permalink: /404.html | ||
|
||
redirect_from: | ||
- /norobots/ | ||
- /assets/ | ||
- /posts/ | ||
--- | ||
|
||
{% include lang.html %} | ||
|
||
<p class="lead">{{ site.data.locales[lang].not_found.statement }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
layout: compress | ||
permalink: /feed.xml | ||
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html | ||
--- | ||
|
||
{% capture source %} | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<id>{{ "/" | absolute_url }}</id> | ||
<title>{{ site.title }}</title> | ||
<subtitle>{{ site.description }}</subtitle> | ||
<updated>{{ site.time | date_to_xmlschema }}</updated> | ||
<author> | ||
<name>{{ site.social.name }}</name> | ||
<uri>{{ "/" | absolute_url }}</uri> | ||
</author> | ||
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/> | ||
<link rel="alternate" type="text/html" hreflang="{{ site.alt_lang | default: site.lang }}" | ||
href="{{ '/' | absolute_url }}"/> | ||
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator> | ||
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights> | ||
<icon>{{ site.baseurl }}/assets/img/favicons/favicon.ico</icon> | ||
<logo>{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png</logo> | ||
|
||
{% for post in site.posts limit: 5 %} | ||
{% assign post_absolute_url = post.url | absolute_url %} | ||
<entry> | ||
<title>{{ post.title }}</title> | ||
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" /> | ||
<published>{{ post.date | date_to_xmlschema }}</published> | ||
{% if post.last_modified_at %} | ||
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated> | ||
{% else %} | ||
<updated>{{ post.date | date_to_xmlschema }}</updated> | ||
{% endif %} | ||
<id>{{ post_absolute_url }}</id> | ||
<content type="text/html" src="{{ post_absolute_url }}" /> | ||
<author> | ||
<name>{{ post.author | default: site.social.name }}</name> | ||
</author> | ||
|
||
{% if post.categories %} | ||
{% for category in post.categories %} | ||
<category term="{{ category }}" /> | ||
{% endfor %} | ||
{% endif %} | ||
|
||
<summary>{% include post-description.html max_length=400 %}</summary> | ||
|
||
</entry> | ||
{% endfor %} | ||
</feed> | ||
{% endcapture %} | ||
{{ source | replace: '&', '&' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
permalink: /robots.txt | ||
# The robots rules | ||
--- | ||
|
||
User-agent: * | ||
|
||
Disallow: /norobots/ | ||
|
||
Sitemap: {{ '/sitemap.xml' | absolute_url }} |