I created a search form in my navigation and as it is described in the documentation, I created an search/results.html. And actually it works so far.
Now comes the problem: The results.html extends the "_base.html" and in this file I set the meta properties like this:
{% if entry.seoPageTitle is defined and entry.seoPageTitle != null %}
{% set metaTitle = entry.seoPageTitle %}
{% else %}
{% set metaTitle = entry.title %}
{% endif %}
and the HTML:
<title>{{ metaTitle }}</title>
And also this works so far.
But in combination it doesn't work. When I tipe in a Word in my Searchform and click "Search", then it gets "Variable "entry" does not exist". How can I fix it?