forked from BrightcoveLearning/apis-en
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap.xml
43 lines (40 loc) · 1.36 KB
/
sitemap.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: null
search: exclude
---
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://learning-services-media.brightcove.com/doc-assets/site-assets/css/site/sitemap.css"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for section in site.data.navigation %}
<url>
<loc>{{ site.site_url }}{{ section.url }}</loc>
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{% for doc in section.docs %}
<url>
{% if doc.url contains "https:" %}
<loc>{{ doc.url }}</loc>
{% else %}
<loc>{{ site.site_url }}{{ doc.url }}</loc>
{% endif %}
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{% for subdoc in doc.docs %}
<url>
{% if subdoc.url contains "https:" %}
<loc>{{ subdoc.url }}</loc>
{% else %}
<loc>{{ site.site_url }}{{ subdoc.url }}</loc>
{% endif %}
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
{% endfor %}
{% endfor %}
</urlset>