forked from werf/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap-site.xml
22 lines (19 loc) · 913 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
---
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 %}
<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>