%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/mkdocs/templates/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/mkdocs/templates/sitemap.xml

{%- macro nav_item(item) -%}
    {%- if item.children -%}
        {%- for child in item.children -%}
            {{ nav_item(child) }}
        {%- endfor -%}
    {%- else %}
	{%- if not item.is_link -%}
    <url>
     <loc>{% if item.canonical_url %}{{ item.canonical_url|e }}{% else %}{{ item.abs_url|e }}{% endif %}</loc>
     {% if item.update_date %}<lastmod>{{item.update_date}}</lastmod>{% endif %}
     <changefreq>daily</changefreq>
    </url>
        {%- endif -%}
    {%- endif -%}
{%- endmacro -%}

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{%- for item in nav -%}
    {{ nav_item(item) }}
{%- endfor %}
</urlset>

Zerion Mini Shell 1.0