|
|
|
@ -531,12 +531,14 @@ class TimelessTemplate extends BaseTemplate {
|
|
|
|
|
}
|
|
|
|
|
if ( $part !== 'text' ) {
|
|
|
|
|
$logoImage = $this->getLogoImage( $config->get( 'TimelessLogo' ) );
|
|
|
|
|
if ( $logoImage === false && isset( $logos['icon'] ) ) {
|
|
|
|
|
$logoSrc = $logos['icon'];
|
|
|
|
|
if ( $logoImage === false ) {
|
|
|
|
|
$logoSrc = $logos['svg'] ?: $logos['icon'] ?: '';
|
|
|
|
|
if ( $logoSrc !== '' ) {
|
|
|
|
|
$logoImage = Html::element( 'img', [
|
|
|
|
|
'src' => $logoSrc,
|
|
|
|
|
] );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$html .= Html::rawElement(
|
|
|
|
|
'a',
|
|
|
|
|