#1490 Cat link improvments #580

This commit is contained in:
Diatrex 2020-05-28 10:01:29 +03:00
parent c2fb5d85a0
commit aca3e51d5a
2 changed files with 5 additions and 4 deletions

View File

@ -291,14 +291,14 @@ class AdvsController extends PublicController
$loop++;
}
}
$this->template->set('notShowTitle', true);
$this->template->set('showTitle', false);
$this->template->set('meta_title', $catText);
$this->template->set('meta_description', $catText);
}
$compact = compact('advs', 'countries', 'mainCats', 'subCats', 'checkboxes', 'request', 'param',
'user', 'featured_advs', 'viewType', 'topfields', 'selectDropdown', 'selectRange', 'selectImage', 'ranges', 'seenList',
'searchedCountry', 'radio', 'categoryId', 'cityId', 'allCats', 'catText');
'user', 'featured_advs', 'viewType', 'topfields', 'selectDropdown', 'selectRange', 'selectImage', 'ranges',
'seenList', 'searchedCountry', 'radio', 'categoryId', 'cityId', 'allCats', 'catText');
return $this->viewTypeBasedRedirect($viewType, $compact);
}

View File

@ -8,7 +8,8 @@
<!-- Meta Tags -->
<title>
{% if not template.notShowTitle %}
{% set showTitle = template.showTitle is same as(false) ? false : true %}
{% if showTitle %}
{{ setting_value('streams::name', config_get('streams::distribution.name')) }}
&#8250;
{% endif %}