parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["page"] ?? null), "metadata", array()));
foreach ($context['_seq'] as $context["_key"] => $context["meta"]) {
// line 2
echo "getAttribute($context["meta"], "name", array())) {
echo "name=\"";
echo $this->getAttribute($context["meta"], "name", array());
echo "\" ";
}
if ($this->getAttribute($context["meta"], "http_equiv", array())) {
echo "http-equiv=\"";
echo $this->getAttribute($context["meta"], "http_equiv", array());
echo "\" ";
}
if ($this->getAttribute($context["meta"], "charset", array())) {
echo "charset=\"";
echo $this->getAttribute($context["meta"], "charset", array());
echo "\" ";
}
if ($this->getAttribute($context["meta"], "property", array())) {
echo "property=\"";
echo $this->getAttribute($context["meta"], "property", array());
echo "\" ";
}
if ($this->getAttribute($context["meta"], "content", array())) {
echo "content=\"";
echo $this->getAttribute($context["meta"], "content", array());
echo "\" ";
}
echo "/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['meta'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "partials/metadata.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 23 => 2, 19 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% for meta in page.metadata %}
{% endfor %}
", "partials/metadata.html.twig", "/mnt/data/Sites/static-ethica.net/user/themes/ethica/templates/partials/metadata.html.twig");
}
}