Réécriture de la suppression d'un espace en trop dans le tag html
This commit is contained in:
parent
03c3a16a85
commit
ce5e9e7633
|
@ -2,8 +2,9 @@
|
|||
<?php
|
||||
$lang = $this->getData(['config', 'i18n', 'langBase']);
|
||||
if( $this->getInput('DELTA_I18N_SITE') !== '' && $this->getInput('DELTA_I18N_SITE') !== null && $this->getInput('DELTA_I18N_SITE') !== 'base') $lang = $this->getInput('DELTA_I18N_SITE');
|
||||
if( $this->getData(['config', 'social', 'headFacebook' ]) === true) { echo '<html prefix="og: http://ogp.me/ns#" lang="'.$lang.'">'; }
|
||||
else { echo '<html lang="'.$lang.'">'; }
|
||||
?>
|
||||
<html <?php if( $this->getData(['config', 'social', 'headFacebook' ]) === true) echo 'prefix="og: http://ogp.me/ns#" '; ?>lang="<?php echo $lang;?>">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
Loading…
Reference in New Issue