* Behoben: Angebotsboxen und -Karussells enthalten deaktivierte Reisen
* Sitemap git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3305 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
aeafe245d7
commit
b63dcb8b1a
4 changed files with 40 additions and 6 deletions
|
|
@ -0,0 +1,18 @@
|
|||
<ul>
|
||||
{% for page_node in page_nodes %}
|
||||
|
||||
{% set default_url = base_url|default('') ~ '/' ~ page_node.slug %}
|
||||
|
||||
<li style="padding-left: 10px;">
|
||||
<a href="{{ page_node.realUrlPath|default( default_url ) }}">
|
||||
{{ page_node.title }}
|
||||
</a>
|
||||
{% if page_node.__children is not empty %}
|
||||
{% include 'default/components/sitemap/sitemapNode.html.twig' with {
|
||||
page_nodes: page_node.__children,
|
||||
base_url: default_url,
|
||||
} %}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue