-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsitemap.xml
More file actions
84 lines (84 loc) · 2.45 KB
/
sitemap.xml
File metadata and controls
84 lines (84 loc) · 2.45 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.url }}/</loc>
<priority>1.0</priority>
</url>
<url>
<loc>{{ site.url }}/about/</loc>
<priority>0.7</priority>
</url>
<url>
<loc>{{ site.url }}/providers/</loc>
<priority>0.9</priority>
</url>
<url>
<loc>{{ site.url }}/tags/</loc>
<priority>0.8</priority>
</url>
<url>
<loc>{{ site.url }}/support/</loc>
<priority>0.5</priority>
</url>
<url>
<loc>{{ site.url }}/blog/</loc>
<priority>0.7</priority>
</url>
{% for provider in site.providers %}
<url>
<loc>{{ site.url }}{{ provider.url }}</loc>
<priority>0.8</priority>
</url>
{% endfor %}
{% for api in site.apis %}
<url>
<loc>{{ site.url }}{{ api.url }}</loc>
<priority>0.7</priority>
</url>
{% endfor %}
{% for cap in site.capabilities %}
<url>
<loc>{{ site.url }}{{ cap.url }}</loc>
<priority>0.6</priority>
</url>
{% endfor %}
{% for schema in site.schemas %}
<url>
<loc>{{ site.url }}{{ schema.url }}</loc>
<priority>0.5</priority>
</url>
{% endfor %}
{% for async in site.asyncapis %}
<url>
<loc>{{ site.url }}{{ async.url }}</loc>
<priority>0.5</priority>
</url>
{% endfor %}
{% for ld in site.jsonld %}
<url>
<loc>{{ site.url }}{{ ld.url }}</loc>
<priority>0.5</priority>
</url>
{% endfor %}
{% for rule in site.rules %}
<url>
<loc>{{ site.url }}{{ rule.url }}</loc>
<priority>0.5</priority>
</url>
{% endfor %}
{% assign all_tags = "" | split: "" %}
{% for doc in site.providers %}{% for tag in doc.tags %}{% unless tag == blank %}{% assign all_tags = all_tags | push: tag %}{% endunless %}{% endfor %}{% endfor %}
{% for doc in site.apis %}{% for tag in doc.tags %}{% unless tag == blank %}{% assign all_tags = all_tags | push: tag %}{% endunless %}{% endfor %}{% endfor %}
{% for doc in site.capabilities %}{% for tag in doc.tags %}{% unless tag == blank %}{% assign all_tags = all_tags | push: tag %}{% endunless %}{% endfor %}{% endfor %}
{% for doc in site.schemas %}{% for tag in doc.tags %}{% unless tag == blank %}{% assign all_tags = all_tags | push: tag %}{% endunless %}{% endfor %}{% endfor %}
{% assign unique_tags = all_tags | uniq | sort %}
{% for tag in unique_tags %}
<url>
<loc>{{ site.url }}/tag/{{ tag | slugify }}/</loc>
<priority>0.4</priority>
</url>
{% endfor %}
</urlset>