We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 612c9f7 + 7242c8f commit e7c1ed9Copy full SHA for e7c1ed9
templates/sitemap_xml.twig
@@ -6,7 +6,7 @@
6
<loc>{{ app.paths.hosturl }}{{ entry.link }}</loc>
7
{% if entry.link == "/" %}
8
{% setcontent record = app.config.get('general/homepage') returnsingle %}
9
- {% else %}
+ {% elseif entry.record is defined %}
10
{% set record = entry.record %}
11
{% endif %}
12
{% if record.datechanged is defined %}
0 commit comments