mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-19 05:42:22 +01:00
Headers were a weird mixture of html5 and xhtml. Now it's pure html5. Use this as doctype if you really want it to be xhtml, but I don't see why would you want that with Angular: ```html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ```
86 lines
2.8 KiB
HTML
86 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>{{title}}</title>
|
|
|
|
<!-- General META -->
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="fragment" content="!">
|
|
<base href="/">
|
|
|
|
<!-- Responsive META -->
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<!-- Semantic META -->
|
|
<meta name="keywords" content="{{keywords}}">
|
|
<meta name="description" content="{{description}}">
|
|
|
|
<!-- Facebook META -->
|
|
<meta property="fb:app_id" content="{{facebookAppId}}">
|
|
<meta property="og:site_name" content="{{title}}">
|
|
<meta property="og:title" content="{{title}}">
|
|
<meta property="og:description" content="{{description}}">
|
|
<meta property="og:url" content="{{url}}">
|
|
<meta property="og:image" content="{{url}}modules/core/img/brand/logo.png">
|
|
<meta property="og:type" content="website">
|
|
|
|
<!-- Twitter META -->
|
|
<meta name="twitter:title" content="{{title}}">
|
|
<meta name="twitter:description" content="{{description}}">
|
|
<meta name="twitter:url" content="{{url}}">
|
|
<meta name="twitter:image" content="{{url}}modules/core/img/brand/logo.png">
|
|
|
|
<!-- Fav Icon -->
|
|
<link href="/modules/core/img/brand/favicon.ico" rel="shortcut icon" type="image/x-icon">
|
|
|
|
<!--Application CSS Files-->
|
|
{% for cssFile in cssFiles %}<link rel="stylesheet" href="{{cssFile}}">{% endfor %}
|
|
|
|
<!-- HTML5 Shim -->
|
|
<!--[if lt IE 9]>
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
|
|
<body class="ng-cloak">
|
|
<header data-ng-include="'/modules/core/views/header.client.view.html'" class="navbar navbar-fixed-top navbar-inverse"></header>
|
|
<section class="content">
|
|
<section class="container">
|
|
{% block content %}{% endblock %}
|
|
</section>
|
|
</section>
|
|
|
|
<!--Embedding The User Object-->
|
|
<script type="text/javascript">
|
|
var user = {{ user | json | safe }};
|
|
</script>
|
|
|
|
<!--Load The Socket.io File-->
|
|
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
|
|
|
|
<!--Application JavaScript Files-->
|
|
{% for jsFile in jsFiles %}<script type="text/javascript" src="{{jsFile}}"></script>{% endfor %}
|
|
|
|
{% if process.env.NODE_ENV === 'development' %}
|
|
<!--Livereload script rendered -->
|
|
<script type="text/javascript" src="{{host}}:35729/livereload.js"></script>
|
|
{% endif %}
|
|
|
|
<!-- Google Analytics -->
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', '{{googleAnalyticsTrackingID}}', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|