{% include "header.twig.html" with {
data: data,
tags: tags,
structure: structure,
site: site,
labelResult: labelResult
}
%}
{% for key, item in data.hits %}
{% if item.node is not null %}
{% include teaserTemplate with {
name: item.displayableName,
title: item.node.title,
tags: item.tags,
link: item.node.rewritePath,
linkName: structure.label_more_information,
text: item.node.text,
img: item.node.img.path,
imgName: item.node.img.name,
date: item.node.date,
location: item.node.location,
structure: structure,
site: site,
type: item.node.type,
urls: urls,
totalHits: totalHits,
documentType: item.node.type,
template: item.node.template,
key: key + 1
}
%}
{% endif %}
{% endfor %}
{% include "pagination.twig.html" with {
currentOffset: currentOffset + 1,
offset: offset
}
%}