[FEATURE] Add meta viewport

Add the generic meta viewport tag,
to support responsive themes.

Refs #328
This commit is contained in:
Dan Untenzu 2023-03-15 14:40:43 +01:00 committed by Jérôme Jutteau
parent dc18d65841
commit e9b6d76a51

View File

@ -7,6 +7,7 @@ header('x-ua-compatible: ie=edge');
<head>
<meta charset="utf-8">
<title><?php echo (true === empty($cfg['title']))? t('JI_WEB_RE') : $cfg['title']; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link id="shortcut_icon" rel="shortcut icon" href="<?php echo 'media/' . $cfg['style'] . '/favicon.ico'; ?>">
<link id="stylesheet" rel="stylesheet" href="<?php echo 'media/' . $cfg['style'] . '/style.css.php'; ?>" type="text/css" />
</head>