Hi there,

I added a new field which is called "seitentitel" to every fieldset. What I want to achieve is:

If the field seitentitel ist set my site title should be that value. If not the site title should be the title field.

What I have tried:

<title>{{ site_name ensure_right=" / " }} {{ if seitentitel:not_set }} {{ title }} {{ else }} {{ seitentitel }} {{ /if }}</title>

This work if the field seitentitel is filled. But when it is not filled the site name shows twice. And I have no idea why.

If I only use {{ title }} without the if condition the write title of the page is used for the title of the site.

Any help or ideas?

thanks Benny