Возвращен sitemap

This commit is contained in:
2019-01-02 17:00:35 +03:00
parent 28215491ca
commit ca22c7afd8
7 changed files with 150 additions and 4 deletions

View File

@ -11,7 +11,7 @@ sitemap:
<url>
{# Last slash for pretty url #}
<loc>{{ site.url }}{{ url.loc != '/.' ? (url.loc ~ '/') : '' }}</loc>
<loc>{{ site.url }}{{ url.loc != '/.' ? (url.loc|trim('/', side='right') ~ '/') : '' }}</loc>
<lastmod>{{ url.lastmod }}</lastmod>