Если TV ptitle пустое, то выводим pagetittle, иначе віводим ptitle
<title>[[*ptitle:empty=`[[*pagetitle]]`]]</title>