template: add explicit favicon, add X-UA-Compatible for Edge with their special ordering

This commit is contained in:
mappu 2018-12-30 14:02:17 +13:00
parent ff70556d8e
commit 4811fcc29e

View File

@ -6,14 +6,16 @@ function template($title, $content, $extra_head='') {
<!DOCTYPE html>
<html>
<head>
<title><?=hesc($title)?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<meta name="viewport" content="width=960" >
<?=$extra_head?>
<link rel="icon" href="<?=BASEURL?>static/favicon.ico" type="image/x-icon">
<link type="text/css" rel="stylesheet" href="<?=BASEURL?>static/normalize.css">
<link type="text/css" rel="stylesheet" href="<?=BASEURL?>static/style.css">
<script type="text/javascript" src="<?=BASEURL?>static/site.js"></script>
<title><?=hesc($title)?></title>
</head>
<body>
<div id="container">