Default "Site Name" block

Permalink
When creating themes, I'd like to have the option to put the Site Name as a default block (like it is in the default c5 themes - so that's taken care of) and also be able to edit that block to insert something different (such as a logo). The current way I'm doing this is the same as the salad theme:

<a href="<?php    echo DIR_REL?>/"><?php   
            $block = Block::getByName('My_Site_Name');
            if($block && $block->bID) $block->display();
            else echo SITE;?></a>


How can this be modified to allow that block to be customized?

overthemike
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.