mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
de7143bc62
closes #657, closes #761 - Got rid of initTheme from ghost.js (yay) - Divided up the logic for static assets and views - Ghost admin static assets are now served from /ghost/ - New logic to figure out if we're on the admin, or a theme and which theme we are on - Activate theme method reregisters static access and uncaches views - Re-ordered all of the middleware, and ensured we had a 404 handler at the end - Activate theme method ensures that middleware maintains order
48 lines
1.6 KiB
Handlebars
48 lines
1.6 KiB
Handlebars
<!doctype html>
|
|
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
|
<!--[if (gte IE 9)| IEMobile |!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
<title>{{siteTitle}}</title>
|
|
<meta name="description" content="{{siteDescription}}">
|
|
<meta name="author" content="">
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="MobileOptimized" content="320">
|
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta http-equiv="cleartype" content="on">
|
|
|
|
<link rel="stylesheet" type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700'>
|
|
<link rel="stylesheet" href="/ghost/css/screen.css">
|
|
{{{block "pageStyles"}}}
|
|
</head>
|
|
<body class="{{bodyClass}}">
|
|
{{#unless hideNavbar}}
|
|
{{> navbar}}
|
|
{{/unless}}
|
|
|
|
<main role="main" id="main">
|
|
<aside id="notifications">
|
|
{{> notifications}}
|
|
</aside>
|
|
|
|
{{{body}}}
|
|
</main>
|
|
|
|
<aside id="modal-container">
|
|
</aside>
|
|
|
|
{{{ghostScriptTags}}}
|
|
|
|
{{{block "bodyScripts"}}}
|
|
|
|
<script>
|
|
Ghost.init();
|
|
</script>
|
|
</body>
|
|
</html>
|