mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
committed by
Waylan Limberg
parent
d93741a0e6
commit
31b3f68abc
@@ -59,6 +59,7 @@ your global navigation uses more than one level, things will likely be broken.
|
||||
* Bugfix: Account for encoded URLs (#1670).
|
||||
* Bugfix: Ensure theme files do not override `docs_dir` files (#1671).
|
||||
* Bugfix: Do not normalize URL fragments (#1655).
|
||||
* Bugfix: Skip external URLs in sitemap.xml (#1742).
|
||||
* Add canonical tag to `readthedocs` theme (#1669).
|
||||
|
||||
## Version 1.0.4 (2018-09-07)
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
{{ nav_item(child) }}
|
||||
{%- endfor -%}
|
||||
{%- else %}
|
||||
{%- if not item.is_link -%}
|
||||
<url>
|
||||
<loc>{% if item.canonical_url %}{{ item.canonical_url }}{% else %}{{ item.abs_url }}{% endif %}</loc>
|
||||
{% if item.update_date %}<lastmod>{{item.update_date}}</lastmod>{% endif %}
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user