BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

v1.1: More SEO friendly title #281

Closed webbird closed 9 years ago

webbird commented 9 years ago

This seems to be lost in migration from page_title() to get_page_headers(): We use this to generate the title tag:

        // page title
        if(isset($droplets_config['title']))
            $title = $droplets_config['title'];
        elseif(isset($properties['title']))
            $title = $properties['title'];
        elseif(defined('WEBSITE_TITLE'))
            $title = WEBSITE_TITLE;
        else
            $title = '-';

To be more SEO friendly, the page title and the website title should be combined. (Like page_title() did.)

webbird commented 9 years ago

Closed with release 1.1.1.