git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3283 f459cee4-fb09-11de-96c3-f9c5f16c3c76

This commit is contained in:
uli 2016-12-17 10:11:28 +00:00
parent 75a065758f
commit 7422f06e90
261 changed files with 83347 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{% extends 'base.html.twig' %}
{% block body %}
<section class="clearfix">
<div class="hl2">{{ page.pagetitle ?? page.title }}</div>
{#{% for i in 0..page.children|length//3 %}#}
<div class="row">
{% for child_page in child_pages if child_page.status == 1 %}
{# @var child_page \AppBundle\Entity\Page #}
<div class="col-md-4 col-sm-4">
<div class="travel-wrapper get-box-link">
<div class="item text-left">
<div class="item-img">
<img src="{{ child_page.previewImageUrl ?? '/bundles/app/images/page1_img'~ (random(3)+1) ~'.jpg' }}" alt="{{ child_page.title }}">
</div>
<div class="box_mid">
<div class="hl5">{{ child_page.title }}</div>
<p>{{ child_page.description }}</p>
</div>
<a class="item-button is-box-link" href="{{ child_page.urlPath }}" title="{{ child_page.title }}">
{{ child_page.title }}
</a>
</div>
</div>
</div>
{% endfor %}
</div>
</section>
<section class="clearfix">
{{ page.content|raw }}
</section>
{% endblock %}