template: add explicit favicon, add X-UA-Compatible for Edge with their special ordering
This commit is contained in:
parent
ff70556d8e
commit
4811fcc29e
@ -6,14 +6,16 @@ function template($title, $content, $extra_head='') {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<title><?=hesc($title)?></title>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
|
||||||
<meta name="viewport" content="width=960" >
|
<meta name="viewport" content="width=960" >
|
||||||
<?=$extra_head?>
|
<?=$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/normalize.css">
|
||||||
<link type="text/css" rel="stylesheet" href="<?=BASEURL?>static/style.css">
|
<link type="text/css" rel="stylesheet" href="<?=BASEURL?>static/style.css">
|
||||||
<script type="text/javascript" src="<?=BASEURL?>static/site.js"></script>
|
<script type="text/javascript" src="<?=BASEURL?>static/site.js"></script>
|
||||||
<title><?=hesc($title)?></title>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
|
Reference in New Issue
Block a user