mirror of https://github.com/docker/docs.git
Create sitemap.xml
This commit is contained in:
parent
bdaafb8dac
commit
f1bdec69ec
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
---
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||||
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://docs.docker.com/</loc>
|
||||||
|
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||||
|
</url>
|
||||||
|
{% for page in site.pages %}<url>
|
||||||
|
<loc>https://docs.docker.com{{ page.url }}</loc>
|
||||||
|
<lastmod>{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}</lastmod>
|
||||||
|
</url>{% endfor %}
|
||||||
|
</urlset>
|
||||||
Loading…
Reference in New Issue