<?php

/* home.tpl */
class __TwigTemplate_e6e87206a71e6b77b1f9a54c6d42f3ed162acdec229fc298b90c596d0b32b7ec extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("base.tpl", "home.tpl", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "base.tpl";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_content($context, array $blocks = array())
    {
        // line 4
        echo "  <div class=\"frontpage\">
    <div class=\"tiles\">
      ";
        // line 6
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["files"]) ? $context["files"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
            // line 7
            echo "        <a class=\"tile\" href=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["file"], "link", array()), "html", null, true);
            echo "\" title=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["file"], "title", array()), "html", null, true);
            echo "\" style=\"background-image: url(";
            echo twig_escape_filter($this->env, $this->getAttribute($context["file"], "image", array()), "html", null, true);
            echo ")\"></a>
      ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 9
        echo "    </div>
  </div>
";
    }

    public function getTemplateName()
    {
        return "home.tpl";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  52 => 9,  39 => 7,  35 => 6,  31 => 4,  28 => 3,  11 => 1,);
    }
}
/* {% extends "base.tpl" %}*/
/* */
/* {% block content %}*/
/*   <div class="frontpage">*/
/*     <div class="tiles">*/
/*       {% for file in files %}*/
/*         <a class="tile" href="{{ file.link }}" title="{{ file.title }}" style="background-image: url({{ file.image }})"></a>*/
/*       {% endfor %}*/
/*     </div>*/
/*   </div>*/
/* {% endblock %}*/
/* */
