-
Notifications
You must be signed in to change notification settings - Fork 38
/
sitemap-site.xml
25 lines (22 loc) · 1016 Bytes
/
sitemap-site.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: null
search: exclude
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{%- assign pages_in_main_lang=site.pages | where: "lang", site.site_lang | where: "sitemap_include", true | where_exp: "page", "page.layout != 'guides-wip'" | where_exp: "page", "page.layout != 'guides-development'" %}
{%- for page in pages_in_main_lang %}
{% if page.url contains "configurator/tabs/" %}
{% continue %}
{% endif %}
<url>
<loc>{{ page.url | absolute_url }}</loc>
<xhtml:link rel="alternate" hreflang="ru" href="{{ site.site_urls.ru }}{{ page.url | relative_url }}" />
<xhtml:link rel="alternate" hreflang="en" href="{{ site.site_urls.en }}{{ page.url | relative_url }}" />
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{%- endfor %}
</urlset>