Skip to content

Instantly share code, notes, and snippets.

@ddrscott
Forked from magsout/head.html
Last active February 22, 2018 20:42
Show Gist options
  • Save ddrscott/719de9a79f16557b853b0c1262da741f to your computer and use it in GitHub Desktop.
Save ddrscott/719de9a79f16557b853b0c1262da741f to your computer and use it in GitHub Desktop.
Minimum Web App <head> configuration
<!DOCTYPE html>
<html lang="en" manifest="/manifest.appcache">
<head>
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta charset="UTF-8">
<!-- Meta SEO -->
<title>Web App</title>
<meta name="author" content="author">
<meta name="description" content="Description">
<!-- RWD -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Web APP iOS/Android -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="Web App" name="apple-mobile-web-app-title">
<!-- icon -->
<meta name="msapplication-TileColor" content="#000">
<meta name="msapplication-TileImage" content="/assets/images/favicon/favicon-144.png">
<link rel="icon" type="image/x-icon" href="/assets/images/favicon/favicon.ico" />
<link rel="shortcut icon" sizes="1024x1024" href="/assets/images/favicon/favicon-1024.png">
<link rel="apple-touch-icon" sizes="152x152" href="/assets/images/favicon/favicon-152.png">
<link rel="apple-touch-icon" sizes="144x144" href="/assets/images/favicon/favicon-144.png">
<link rel="shortcut icon" sizes="128x128" href="/assets/images/favicon/favicon-128.png">
<link rel="apple-touch-icon" sizes="128x128" href="/assets/images/favicon/favicon-128.png">
<link rel="apple-touch-icon" sizes="120x120" href="/assets/images/favicon/favicon-120.png">
<link rel="apple-touch-icon" sizes="114x114" href="/assets/images/favicon/favicon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/assets/images/favicon/favicon-72.png">
<link rel="apple-touch-icon" href="/assets/images/favicon/favicon-57.png">
<!-- CSS -->
<link rel="stylesheet" href="/assets/css/app.css" />
<!-- JS -->
<script type="text/javascript" src="/assets/js/library/script.js"></script>
<script type="text/javascript" src="/assets/js/library/modernizr.min.js"></script>
<!-- Hack HTML5-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
</body>
</html>
CACHE MANIFEST
# Version 1.0, 14/10/13
CACHE:
# CSS
# Javascript
# Font
# Sprite
NETWORK:
*
{
"version": "1.0",
"name": "Web App",
"description": "",
"launch_path": "/index.html",
"appcache_path": "/manifeste.appcache",
"icons": {
"16": "/assets/images/favicon/favicon-16.png",
"48": "/assets/images/favicon/favicon-48.png",
"128": "/assets/images/favicon/favicon-128.png"
},
"developer": {
"name": "",
"url": ""
},
"installs_allowed_from": ["*"],
"locales": {
"fr": {
"description": "Description en français",
"developer": {
"url": ""
}
}
},
"default_locale": "en",
"permissions": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment