<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* homepage.html.twig */
class __TwigTemplate_ad48e5d885bdc960db3b5add6eb1ce5a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homepage.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homepage.html.twig"));
// line 1
echo "
";
// line 3
echo "
";
// line 4
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 4, $this->source); })()))) {
// line 5
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
}
// line 7
echo "
";
// line 9
echo "
";
// line 10
if (((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 10, $this->source); })()) == "de")) {
// line 11
echo " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(twig_constant("SITE_ROOT_ID_DE"));
} elseif (( // line 12
(isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 12, $this->source); })()) == "en")) {
// line 13
echo " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(twig_constant("SITE_ROOT_ID_EN"));
} else {
// line 15
echo " ";
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "getProperty", [0 => "navigationRoot"], "method", false, false, false, 15);
}
// line 17
echo "
";
// line 23
echo "
";
// line 24
$context["mainNavigation"] = call_user_func_array($this->env->getFunction('pimcore_build_nav')->getCallable(), [["active" => // line 25
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 25, $this->source); })()), "root" => // line 26
(isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 26, $this->source); })())]]);
// line 28
echo "
";
// line 29
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 29, $this->source); })()), "getDescription", [], "any", false, false, false, 29))) {
// line 30
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setDescription", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 30, $this->source); })()), "getDescription", [], "any", false, false, false, 30)], "method", false, false, false, 30);
}
// line 32
echo "
";
// line 33
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:locale", 1 => (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 33, $this->source); })())], "method", false, false, false, 33);
// line 34
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:url", 1 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "uri", [], "any", false, false, false, 34)], "method", false, false, false, 34);
// line 35
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:site_name", 1 => twig_constant("SITE_NAME")], "method", false, false, false, 35);
// line 36
if (array_key_exists("newsarticle", $context)) {
// line 37
echo " ";
if (call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["newsarticle"]) || array_key_exists("newsarticle", $context) ? $context["newsarticle"] : (function () { throw new RuntimeError('Variable "newsarticle" does not exist.', 37, $this->source); })()), "\\PimcoreModelDataObjectNewsblog"])) {
// line 38
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:type", 1 => "article"], "method", false, false, false, 38);
// line 39
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:title", 1 => twig_get_attribute($this->env, $this->source, (isset($context["newsarticle"]) || array_key_exists("newsarticle", $context) ? $context["newsarticle"] : (function () { throw new RuntimeError('Variable "newsarticle" does not exist.', 39, $this->source); })()), "headline", [], "any", false, false, false, 39)], "method", false, false, false, 39);
// line 40
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "og:description", 1 => twig_get_attribute($this->env, $this->source, (isset($context["newsarticle"]) || array_key_exists("newsarticle", $context) ? $context["newsarticle"] : (function () { throw new RuntimeError('Variable "newsarticle" does not exist.', 40, $this->source); })()), "teaser", [], "any", false, false, false, 40)], "method", false, false, false, 40);
// line 41
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setProperty", [0 => "article:modified_time", 1 => twig_get_attribute($this->env, $this->source, twig_date_converter($this->env, (isset($context["timestamp"]) || array_key_exists("timestamp", $context) ? $context["timestamp"] : (function () { throw new RuntimeError('Variable "timestamp" does not exist.', 41, $this->source); })())), "format", [0 => "c"], "method", false, false, false, 41)], "method", false, false, false, 41);
// line 42
echo " ";
}
}
// line 44
echo "
";
// line 45
$context["user"] = twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "user", [], "any", false, false, false, 45);
// line 46
echo "
<!DOCTYPE html>
<html lang=\"";
// line 48
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 48, $this->source); })()), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>";
// line 53
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })()), "getTitle", [], "method", false, false, false, 53))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })()), "getTitle", [], "method", false, false, false, 53), "html", null, true);
}
echo "</title>
";
// line 54
echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
echo "
<link rel=\"canonical\" href=\"";
// line 55
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "uri", [], "any", false, false, false, 55), "html", null, true);
echo "\" />
<meta name=\"author\" content=\"";
// line 56
echo twig_escape_filter($this->env, twig_constant("SITE_NAME"), "html", null, true);
echo "\">
<meta name=\"generator\" content=\"78media solutions\">
<link rel=\"icon\" href=\"";
// line 58
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/favicon-192x192.png\" sizes=\"192x192\" type=\"image/png\">
<link rel=\"apple-touch-icon\" href=\"";
// line 59
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/apple-touch-icon.png\" sizes=\"180x180\">
<link rel=\"icon\" href=\"";
// line 60
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/favicon-32x32.png\" sizes=\"32x32\" type=\"image/png\">
<link rel=\"icon\" href=\"";
// line 61
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/favicon-16x16.png\" sizes=\"16x16\" type=\"image/png\">
<link rel=\"manifest\" href=\"";
// line 62
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/manifest.json\">
<link rel=\"mask-icon\" href=\"";
// line 63
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/safari-pinned-tab.svg\" color=\"#563d7c\">
<link rel=\"icon\" href=\"";
// line 64
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/favicons/favicon.ico\">
<!-- base -->
<link href=\"";
// line 66
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"";
// line 67
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/css/animate.min.css\" rel=\"stylesheet\" />
<link href=\"";
// line 68
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/css/jquery.fancybox.min.css\" rel=\"stylesheet\">
<link href=\"";
// line 69
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/plugins/slick/slick.css\" rel=\"stylesheet\">
<link href=\"";
// line 70
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/plugins/slick/slick-theme.css\" rel=\"stylesheet\">
<!-- theme -->
<link href=\"";
// line 72
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/css/screen.less?v=";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\" rel=\"stylesheet/less\" type=\"text/css\">
<script src=\"";
// line 73
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/js/less.min.js\" language=\"javascript\"></script>
";
// line 74
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 74, $this->source); })())) {
// line 75
echo " <link href=\"";
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/css/editmode.css?v=";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "U"), "html", null, true);
echo "\" rel=\"stylesheet\">
";
}
// line 77
echo "
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-927743781\">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-927743781');
</script>
</head>
<body id=\"body\">
<header>
<!-- div wrapper needed !!! -->
<div class=\"header-options\">
<a class=\"navbar-toggler d-block\" data-toggle=\"navbar-header\">
<div id=\"nav-icon\">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</a>
<a class=\"language-switch\" data-toggle=\"language-selection\" href=\"/";
// line 103
echo ((((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 103, $this->source); })()) == "en")) ? ("de") : ("en"));
echo "/\">
<img class=\"language ";
// line 104
echo ((((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 104, $this->source); })()) == "en")) ? ("active-en") : ("active-de"));
echo "\" src=\"";
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/flags/de-en.png\" />
</a>
<a href=\"https://www.deutschertourismusverband.de/\">
<img class=\"dtv-link\" src=\"";
// line 107
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/dtv_4_sterneferien.png\" />
</a>
</div>
<!-- end div wrapper !!! -->
<div class=\"header-logo\">
<a href=\"/";
// line 112
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 112, $this->source); })()), "html", null, true);
echo "\">
<img src=\"";
// line 113
echo twig_escape_filter($this->env, twig_constant("SITE_TEMPLATE_PATH"), "html", null, true);
echo "/img/logo_7schwaben.png\" alt=\"7SCHWABEN\" title=\"7SCHWABEN Ferienwohnungen Apartments in Bad Urach\" />
</a>
</div>
</header>
";
// line 119
echo " ";
$context["menuRenderer"] = call_user_func_array($this->env->getFunction('pimcore_nav_renderer')->getCallable(), ["menu"]);
// line 120
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["menuRenderer"]) || array_key_exists("menuRenderer", $context) ? $context["menuRenderer"] : (function () { throw new RuntimeError('Variable "menuRenderer" does not exist.', 120, $this->source); })()), "renderPartial", [0 => (isset($context["mainNavigation"]) || array_key_exists("mainNavigation", $context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.', 120, $this->source); })()), 1 => "_includes/7schwaben_navigation.html.twig"], "method", false, false, false, 120);
echo "
<main>
<!-- page banner -->
<div class=\"page-banner\">
";
// line 126
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "home_main_image");
echo "
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"page-header main-header\">
<h3><span class=\"d-block d-sm-inline\">";
// line 131
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_main_header3"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</h3>
<h1>";
// line 132
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_main_header1"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</h1>
</div>
</div>
</div>
</div>
</div>
<!-- slider gallery -->
<!--
<section>
";
// line 142
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "renderlet", "slidergallery", ["controller" => "App\\Controller\\DocumentController::sliderGalleryAction", "title" => "Assets-Ordner mit Bildern per Drag+Drop zuweisen", "height" => 400]);
// line 147
echo "
<div class=\"container mt-5\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 151
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "home_main_welcome"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "
</div>
</div>
</div>
</section>
-->
<!-- apartments section -->
<section class=\"bg-grey\" style=\"overflow:hidden;\">
<!-- apartments slider -->
<div class=\"appartments-slider\"> \t\t\t\t
";
// line 162
if ((array_key_exists("apartments", $context) && (twig_length_filter($this->env, (isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 162, $this->source); })())) > 0))) {
// line 163
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 163, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["apartment"]) {
echo "
<div class=\"appartment-preview\">
\t\t\t\t\t<img class=\"appartment-preview-image\" src=\"";
// line 165
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "mainImage", [], "any", false, false, false, 165), "html", null, true);
echo "\" />
<div class=\"appartment-preview-box\">
<h3 class=\"appartment-name red\">
";
// line 168
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "name", [], "any", false, false, false, 168), "html", null, true);
echo "
</h3>
<div class=\"appartment-description\">
";
// line 171
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "shortDescription", [], "any", false, false, false, 171), "html", null, true);
echo "
</div>
<div class=\"appartment-options\">
<a class=\"btn btn-default\" href=\"/";
// line 174
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 174, $this->source); })()), "html", null, true);
echo "/buchen.php\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("booking"), "html", null, true);
echo "</a><a class=\"btn btn-default\" href=\"/";
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 174, $this->source); })()), "html", null, true);
echo "/apartments/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "key", [], "any", false, false, false, 174), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details"), "html", null, true);
echo "</a>
</div>
</div>
\t\t\t\t</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['apartment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 179
echo " ";
}
// line 180
echo " </div>
<!-- end apartments slider -->
</section>
<section>
<div class=\"container mt-2\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 188
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "home_main_welcome"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "
</div>
</div>
</div>
</section>
<!-- apartments section -->
<section>
<div class=\"container\">
<div class=\"page-header scroll-animated\" data-animation=\"slideInUp\">
<h3>";
// line 198
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_section1_header3"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</h3>
<p class=\"grey\">";
// line 199
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_section1_text1"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</p>
</div>
<!-- slider gallery -->
<div class=\"document-gallery-wrapper\">
";
// line 204
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "renderlet", "slidergallery2", ["controller" => "App\\Controller\\DocumentController::sliderGalleryAction", "title" => "Assets-Ordner mit Bildern per Drag+Drop zuweisen", "height" => 400]);
// line 209
echo "
</div>
<div class=\"page-introduction scroll-animated\" data-animation=\"slideInUp\">
";
// line 213
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "home_section1_text2"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "
</div>
";
// line 216
if ((array_key_exists("apartments", $context) && (twig_length_filter($this->env, (isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 216, $this->source); })())) > 0))) {
// line 217
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 217, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["apartment"]) {
echo "
<div class=\"apmt-preview-box\">
<div class=\"row\">
<div class=\"col-12 col-lg-3\">
<div class=\"apmt-preview-image\">
<img class=\"apmt-image\" src=\"";
// line 222
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "logo", [], "any", false, false, false, 222), "html", null, true);
echo "\" />
</div>
</div>
<div class=\"col-12 col-lg-9\">
<div class=\"apmt-preview-description\">
<h3 class=\"apmt-description-header\">";
// line 227
if ((twig_get_attribute($this->env, $this->source, $context["apartment"], "stars", [], "any", false, false, false, 227) > 0)) {
echo "<img class=\"apmt-stars-rating\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "stars", [], "any", false, false, false, 227), "html", null, true);
echo " Sterne\" src=\"/themes/7schwaben/img/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "stars", [], "any", false, false, false, 227), "html", null, true);
echo "_Sterne.png\" />";
}
echo twig_get_attribute($this->env, $this->source, $context["apartment"], "shortDescription", [], "any", false, false, false, 227);
echo "</h3>
<div class=\"apmt-preview-icons\">
";
// line 229
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon1", [], "any", false, false, false, 229)) {
echo "<span class=\"icon-apmt icon-apmt-double\"></span>";
}
// line 230
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon2", [], "any", false, false, false, 230)) {
echo "<span class=\"icon-apmt icon-apmt-single\"></span>";
}
// line 231
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon3", [], "any", false, false, false, 231)) {
echo "<span class=\"icon-apmt icon-apmt-bunk\"></span>";
}
echo "
";
// line 232
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon4", [], "any", false, false, false, 232)) {
echo "<span class=\"icon-apmt icon-apmt-terrace\"></span>";
}
// line 233
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon5", [], "any", false, false, false, 233)) {
echo "<span class=\"icon-apmt icon-apmt-disabled\"></span></span>";
}
// line 234
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon6", [], "any", false, false, false, 234)) {
echo "<span class=\"icon-apmt icon-apmt-balcony\"></span>";
}
// line 235
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["apartment"], "icon7", [], "any", false, false, false, 235)) {
echo "<span class=\"icon-apmt icon-apmt-view\"></span>";
}
// line 236
echo " </div>
<div>
";
// line 238
echo twig_get_attribute($this->env, $this->source, $context["apartment"], "description", [], "any", false, false, false, 238);
echo "
</div>
<div class=\"apmt-price-tag\">
";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("from"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "price", [], "any", false, false, false, 241), "html", null, true);
echo " €
</div>
</div>
<div class=\"apmt-preview-actions\">
<a class=\"btn btn-default\" href=\"/";
// line 245
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 245, $this->source); })()), "html", null, true);
echo "/apartments/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "key", [], "any", false, false, false, 245), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details"), "html", null, true);
echo "</a> <a class=\"btn btn-default\" href=\"/";
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 245, $this->source); })()), "html", null, true);
echo "/buchen.php\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("booking"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['apartment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 251
echo " ";
}
// line 252
echo "
</div>
</section>
<section>
<div class=\"container\">
<div class=\"page-header scroll-animated\" data-animation=\"slideInUp\">
<h3>";
// line 259
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_section2_header3"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</h3>
<p class=\"grey\">";
// line 260
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "home_section2_text1"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "</p>
</div>
<div class=\"page-introduction scroll-animated\" data-animation=\"slideInUp\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
";
// line 265
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "home_section2_image1"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "
</div>
<div class=\"col-12 col-lg-6\">
";
// line 268
echo twig_replace_filter($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "home_section2_text2"), ["7SCHWABEN" => "<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>"]);
echo "
</div>
</div>
</div>
</section>
<!-- apartments section -->
<section class=\"bg-grey\" style=\"overflow:hidden;\">
<!-- apartments slider -->
<div class=\"appartments-slider\"> \t\t\t\t
";
// line 278
if ((array_key_exists("apartments", $context) && (twig_length_filter($this->env, (isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 278, $this->source); })())) > 0))) {
// line 279
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["apartments"]) || array_key_exists("apartments", $context) ? $context["apartments"] : (function () { throw new RuntimeError('Variable "apartments" does not exist.', 279, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["apartment"]) {
echo "
<div class=\"appartment-preview\">
\t\t\t\t\t<img class=\"appartment-preview-image\" src=\"";
// line 281
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "mainImage", [], "any", false, false, false, 281), "html", null, true);
echo "\" />
<div class=\"appartment-preview-box\">
<h3 class=\"appartment-name red\">
";
// line 284
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "name", [], "any", false, false, false, 284), "html", null, true);
echo "
</h3>
<div class=\"appartment-description\">
";
// line 287
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "shortDescription", [], "any", false, false, false, 287), "html", null, true);
echo "
</div>
<div class=\"appartment-options\">
<a class=\"btn btn-default\" href=\"/";
// line 290
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 290, $this->source); })()), "html", null, true);
echo "/buchen.php\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("booking"), "html", null, true);
echo "</a><a class=\"btn btn-default\" href=\"/";
echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 290, $this->source); })()), "html", null, true);
echo "/apartments/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["apartment"], "key", [], "any", false, false, false, 290), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("details"), "html", null, true);
echo "</a>
</div>
</div>
\t\t\t\t</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['apartment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 295
echo " ";
}
// line 296
echo " </div>
<!-- end apartments slider -->
</section>
<div id=\"footer-switch\" style=\"height:1px; background:transparent;\">
</div>
";
// line 303
echo twig_include($this->env, $context, "_includes/contactForm.html.twig");
echo "
";
// line 305
if ((array_key_exists("articles", $context) && (twig_length_filter($this->env, (isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 305, $this->source); })())) > 0))) {
// line 306
echo " <div class=\"widget news-widget animate__animated animate__bounceInUp\" id=\"news-widget\">
<a class=\"widget-toggler\" data-toggle=\"news-widget\"><span class=\"lsf\">plus</span></a>
<div class=\"widget-content\">
<h4 class=\"widget-header\">News</h4>
<div class=\"widget-body\">
<ul class=\"news-list\">
";
// line 312
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles", $context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.', 312, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 313
echo " <li class=\"news-list-item\">
<h3 class=\"news-item-header\">";
// line 314
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "headline", [], "any", false, false, false, 314), "html", null, true);
echo "</h3>
<a href=\"/";
// line 315
echo twig_escape_filter($this->env, ((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 315, $this->source); })()) . twig_get_attribute($this->env, $this->source, (isset($context["blog"]) || array_key_exists("blog", $context) ? $context["blog"] : (function () { throw new RuntimeError('Variable "blog" does not exist.', 315, $this->source); })()), "blogPathPrefix", [], "any", false, false, false, 315)), "html", null, true);
echo "/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "getKey", [], "any", false, false, false, 315), "html", null, true);
echo "\" class=\"news-item-link\"><span class=\"lsf\">right</span> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("news-learn-more"), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 318
echo " </ul>
</div>
</div>
</div>
";
}
// line 323
echo "
<!-- document block content -->
";
// line 325
$this->displayBlock("main_content", $context, $blocks);
echo "
</main>
";
// line 329
echo twig_include($this->env, $context, "_includes/footer.html.twig");
echo "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "homepage.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 716 => 329, 709 => 325, 705 => 323, 698 => 318, 685 => 315, 681 => 314, 678 => 313, 674 => 312, 666 => 306, 664 => 305, 659 => 303, 650 => 296, 647 => 295, 628 => 290, 622 => 287, 616 => 284, 610 => 281, 602 => 279, 600 => 278, 587 => 268, 581 => 265, 573 => 260, 569 => 259, 560 => 252, 557 => 251, 537 => 245, 528 => 241, 522 => 238, 518 => 236, 513 => 235, 508 => 234, 503 => 233, 499 => 232, 492 => 231, 487 => 230, 483 => 229, 471 => 227, 463 => 222, 452 => 217, 450 => 216, 444 => 213, 438 => 209, 436 => 204, 428 => 199, 424 => 198, 411 => 188, 401 => 180, 398 => 179, 379 => 174, 373 => 171, 367 => 168, 361 => 165, 353 => 163, 351 => 162, 337 => 151, 331 => 147, 329 => 142, 316 => 132, 312 => 131, 304 => 126, 294 => 120, 291 => 119, 283 => 113, 279 => 112, 271 => 107, 263 => 104, 259 => 103, 231 => 77, 223 => 75, 221 => 74, 217 => 73, 211 => 72, 206 => 70, 202 => 69, 198 => 68, 194 => 67, 190 => 66, 185 => 64, 181 => 63, 177 => 62, 173 => 61, 169 => 60, 165 => 59, 161 => 58, 156 => 56, 152 => 55, 148 => 54, 142 => 53, 134 => 48, 130 => 46, 128 => 45, 125 => 44, 121 => 42, 118 => 41, 115 => 40, 112 => 39, 109 => 38, 106 => 37, 104 => 36, 102 => 35, 100 => 34, 98 => 33, 95 => 32, 91 => 30, 89 => 29, 86 => 28, 84 => 26, 83 => 25, 82 => 24, 79 => 23, 76 => 17, 72 => 15, 68 => 13, 66 => 12, 63 => 11, 61 => 10, 58 => 9, 55 => 7, 51 => 5, 49 => 4, 46 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{# get the document which should be used to start in navigation | default home #}
{% if locale == 'de' %}
{% set navStartNode = pimcore_document( constant('SITE_ROOT_ID_DE') ) %}
{% elseif locale == 'en' %}
{% set navStartNode = pimcore_document( constant('SITE_ROOT_ID_EN') ) %}
{% else %}
{% set navStartNode = document.getProperty('navigationRoot') %}
{% endif %}
{# Pimcore default -> deactivated
{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% set navStartNode = pimcore_document(1) %}
{% endif %}
#}
{% set mainNavigation = pimcore_build_nav({
active: document,
root: navStartNode
}) %}
{% if document.getDescription is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription) %}
{% endif %}
{% do pimcore_head_meta().setProperty('og:locale', locale) %}
{% do pimcore_head_meta().setProperty('og:url', app.request.uri ) %}
{% do pimcore_head_meta().setProperty('og:site_name', constant('SITE_NAME') ) %}
{% if newsarticle is defined %}
{% if newsarticle is instanceof('\\\\Pimcore\\Model\\DataObject\\Newsblog') %}
{% do pimcore_head_meta().setProperty('og:type', 'article') %}
{% do pimcore_head_meta().setProperty('og:title', newsarticle.headline ) %}
{% do pimcore_head_meta().setProperty('og:description', newsarticle.teaser | raw ) %}
{% do pimcore_head_meta().setProperty('article:modified_time', date( timestamp ).format('c') ) %}
{% endif %}
{% endif %}
{% set user = app.user %}
<!DOCTYPE html>
<html lang=\"{{ locale }}\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>{% if document.getTitle() is not empty %}{{ document.getTitle() }}{% endif %}</title>
{{ pimcore_head_meta() }}
<link rel=\"canonical\" href=\"{{ app.request.uri }}\" />
<meta name=\"author\" content=\"{{ constant('SITE_NAME') }}\">
<meta name=\"generator\" content=\"78media solutions\">
<link rel=\"icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/favicon-192x192.png\" sizes=\"192x192\" type=\"image/png\">
<link rel=\"apple-touch-icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/apple-touch-icon.png\" sizes=\"180x180\">
<link rel=\"icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/favicon-32x32.png\" sizes=\"32x32\" type=\"image/png\">
<link rel=\"icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/favicon-16x16.png\" sizes=\"16x16\" type=\"image/png\">
<link rel=\"manifest\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/manifest.json\">
<link rel=\"mask-icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/safari-pinned-tab.svg\" color=\"#563d7c\">
<link rel=\"icon\" href=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/favicons/favicon.ico\">
<!-- base -->
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/css/bootstrap.min.css\" rel=\"stylesheet\">
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/css/animate.min.css\" rel=\"stylesheet\" />
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/css/jquery.fancybox.min.css\" rel=\"stylesheet\">
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/plugins/slick/slick.css\" rel=\"stylesheet\">
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/plugins/slick/slick-theme.css\" rel=\"stylesheet\">
<!-- theme -->
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/css/screen.less?v={{ 'now'|date('U') }}\" rel=\"stylesheet/less\" type=\"text/css\">
<script src=\"{{ constant('SITE_TEMPLATE_PATH') }}/js/less.min.js\" language=\"javascript\"></script>
{% if editmode %}
<link href=\"{{ constant('SITE_TEMPLATE_PATH') }}/css/editmode.css?v={{ 'now'|date('U') }}\" rel=\"stylesheet\">
{% endif %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-927743781\">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-927743781');
</script>
</head>
<body id=\"body\">
<header>
<!-- div wrapper needed !!! -->
<div class=\"header-options\">
<a class=\"navbar-toggler d-block\" data-toggle=\"navbar-header\">
<div id=\"nav-icon\">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</a>
<a class=\"language-switch\" data-toggle=\"language-selection\" href=\"/{{ (locale=='en' ? 'de' : 'en') }}/\">
<img class=\"language {{ (locale=='en') ? 'active-en' : 'active-de' }}\" src=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/flags/de-en.png\" />
</a>
<a href=\"https://www.deutschertourismusverband.de/\">
<img class=\"dtv-link\" src=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/dtv_4_sterneferien.png\" />
</a>
</div>
<!-- end div wrapper !!! -->
<div class=\"header-logo\">
<a href=\"/{{ locale }}\">
<img src=\"{{ constant('SITE_TEMPLATE_PATH') }}/img/logo_7schwaben.png\" alt=\"7SCHWABEN\" title=\"7SCHWABEN Ferienwohnungen Apartments in Bad Urach\" />
</a>
</div>
</header>
{# \\Pimcore\\Navigation\\Renderer\\Menu #}
{% set menuRenderer = pimcore_nav_renderer('menu') %}
{{ menuRenderer.renderPartial( mainNavigation, '_includes/7schwaben_navigation.html.twig' ) | raw }}
<main>
<!-- page banner -->
<div class=\"page-banner\">
{{ pimcore_image('home_main_image') }}
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"page-header main-header\">
<h3><span class=\"d-block d-sm-inline\">{{ pimcore_input('home_main_header3') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</h3>
<h1>{{ pimcore_input('home_main_header1') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</h1>
</div>
</div>
</div>
</div>
</div>
<!-- slider gallery -->
<!--
<section>
{{ pimcore_renderlet('slidergallery', {
\"controller\" : \"App\\\\Controller\\\\DocumentController::sliderGalleryAction\",
\"title\" : \"Assets-Ordner mit Bildern per Drag+Drop zuweisen\",
\"height\" : 400
})
}}
<div class=\"container mt-5\">
<div class=\"row\">
<div class=\"col-12\">
{{ pimcore_wysiwyg('home_main_welcome') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}
</div>
</div>
</div>
</section>
-->
<!-- apartments section -->
<section class=\"bg-grey\" style=\"overflow:hidden;\">
<!-- apartments slider -->
<div class=\"appartments-slider\"> \t\t\t\t
{% if (apartments is defined and apartments | length > 0) %}
{% for apartment in apartments %}
<div class=\"appartment-preview\">
\t\t\t\t\t<img class=\"appartment-preview-image\" src=\"{{ apartment.mainImage }}\" />
<div class=\"appartment-preview-box\">
<h3 class=\"appartment-name red\">
{{ apartment.name }}
</h3>
<div class=\"appartment-description\">
{{ apartment.shortDescription }}
</div>
<div class=\"appartment-options\">
<a class=\"btn btn-default\" href=\"/{{ locale }}/buchen.php\">{{ 'booking' | trans }}</a><a class=\"btn btn-default\" href=\"/{{ locale }}/apartments/{{ apartment.key }}\">{{ 'details' | trans }}</a>
</div>
</div>
\t\t\t\t</div>
{% endfor %}
{% endif %}
</div>
<!-- end apartments slider -->
</section>
<section>
<div class=\"container mt-2\">
<div class=\"row\">
<div class=\"col-12\">
{{ pimcore_wysiwyg('home_main_welcome') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}
</div>
</div>
</div>
</section>
<!-- apartments section -->
<section>
<div class=\"container\">
<div class=\"page-header scroll-animated\" data-animation=\"slideInUp\">
<h3>{{ pimcore_input('home_section1_header3') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</h3>
<p class=\"grey\">{{ pimcore_input('home_section1_text1') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</p>
</div>
<!-- slider gallery -->
<div class=\"document-gallery-wrapper\">
{{ pimcore_renderlet('slidergallery2', {
\"controller\" : \"App\\\\Controller\\\\DocumentController::sliderGalleryAction\",
\"title\" : \"Assets-Ordner mit Bildern per Drag+Drop zuweisen\",
\"height\" : 400
})
}}
</div>
<div class=\"page-introduction scroll-animated\" data-animation=\"slideInUp\">
{{ pimcore_wysiwyg('home_section1_text2') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}
</div>
{% if (apartments is defined and apartments | length > 0) %}
{% for apartment in apartments %}
<div class=\"apmt-preview-box\">
<div class=\"row\">
<div class=\"col-12 col-lg-3\">
<div class=\"apmt-preview-image\">
<img class=\"apmt-image\" src=\"{{ apartment.logo }}\" />
</div>
</div>
<div class=\"col-12 col-lg-9\">
<div class=\"apmt-preview-description\">
<h3 class=\"apmt-description-header\">{% if apartment.stars > 0 %}<img class=\"apmt-stars-rating\" alt=\"{{ apartment.stars }} Sterne\" src=\"/themes/7schwaben/img/{{ apartment.stars }}_Sterne.png\" />{% endif %}{{ apartment.shortDescription | raw }}</h3>
<div class=\"apmt-preview-icons\">
{% if apartment.icon1 %}<span class=\"icon-apmt icon-apmt-double\"></span>{% endif %}
{% if apartment.icon2 %}<span class=\"icon-apmt icon-apmt-single\"></span>{% endif %}
{% if apartment.icon3 %}<span class=\"icon-apmt icon-apmt-bunk\"></span>{% endif %}
{% if apartment.icon4 %}<span class=\"icon-apmt icon-apmt-terrace\"></span>{% endif %}
{% if apartment.icon5 %}<span class=\"icon-apmt icon-apmt-disabled\"></span></span>{% endif %}
{% if apartment.icon6 %}<span class=\"icon-apmt icon-apmt-balcony\"></span>{% endif %}
{% if apartment.icon7 %}<span class=\"icon-apmt icon-apmt-view\"></span>{% endif %}
</div>
<div>
{{ apartment.description | raw }}
</div>
<div class=\"apmt-price-tag\">
{{ 'from' | trans }} {{ apartment.price }} €
</div>
</div>
<div class=\"apmt-preview-actions\">
<a class=\"btn btn-default\" href=\"/{{ locale }}/apartments/{{ apartment.key }}\">{{ 'details' | trans }}</a> <a class=\"btn btn-default\" href=\"/{{ locale }}/buchen.php\">{{ 'booking' | trans }}</a>
</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</section>
<section>
<div class=\"container\">
<div class=\"page-header scroll-animated\" data-animation=\"slideInUp\">
<h3>{{ pimcore_input('home_section2_header3') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</h3>
<p class=\"grey\">{{ pimcore_input('home_section2_text1') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}</p>
</div>
<div class=\"page-introduction scroll-animated\" data-animation=\"slideInUp\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
{{ pimcore_image('home_section2_image1') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}
</div>
<div class=\"col-12 col-lg-6\">
{{ pimcore_wysiwyg('home_section2_text2') | replace({'7SCHWABEN': '<strong class=\"condensed\"><span class=\"red\">7</span>SCHWABEN</strong>'}) | raw }}
</div>
</div>
</div>
</section>
<!-- apartments section -->
<section class=\"bg-grey\" style=\"overflow:hidden;\">
<!-- apartments slider -->
<div class=\"appartments-slider\"> \t\t\t\t
{% if (apartments is defined and apartments | length > 0) %}
{% for apartment in apartments %}
<div class=\"appartment-preview\">
\t\t\t\t\t<img class=\"appartment-preview-image\" src=\"{{ apartment.mainImage }}\" />
<div class=\"appartment-preview-box\">
<h3 class=\"appartment-name red\">
{{ apartment.name }}
</h3>
<div class=\"appartment-description\">
{{ apartment.shortDescription }}
</div>
<div class=\"appartment-options\">
<a class=\"btn btn-default\" href=\"/{{ locale }}/buchen.php\">{{ 'booking' | trans }}</a><a class=\"btn btn-default\" href=\"/{{ locale }}/apartments/{{ apartment.key }}\">{{ 'details' | trans }}</a>
</div>
</div>
\t\t\t\t</div>
{% endfor %}
{% endif %}
</div>
<!-- end apartments slider -->
</section>
<div id=\"footer-switch\" style=\"height:1px; background:transparent;\">
</div>
{{ include('_includes/contactForm.html.twig') }}
{% if articles is defined and articles | length > 0 %}
<div class=\"widget news-widget animate__animated animate__bounceInUp\" id=\"news-widget\">
<a class=\"widget-toggler\" data-toggle=\"news-widget\"><span class=\"lsf\">plus</span></a>
<div class=\"widget-content\">
<h4 class=\"widget-header\">News</h4>
<div class=\"widget-body\">
<ul class=\"news-list\">
{% for article in articles %}
<li class=\"news-list-item\">
<h3 class=\"news-item-header\">{{ article.headline }}</h3>
<a href=\"/{{ locale ~ blog.blogPathPrefix }}/{{ article.getKey }}\" class=\"news-item-link\"><span class=\"lsf\">right</span> {{ 'news-learn-more' | trans }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endif %}
<!-- document block content -->
{{ block('main_content') }}
</main>
{{ include('_includes/footer.html.twig') }}
</body>
</html>
", "homepage.html.twig", "/var/www/vhosts/das7schwaben.de/httpdocs/pimcore_x/templates/homepage.html.twig");
}
}