mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
8bbacd9ec9
- adds dateFormat handlebars helper for client side with extra option to format in time since style - adds this extra dateFormat option to existing server side helper. - adds scss for draft and scheduled status - adds true/false values to post for draft and published to validate in handlebars - changes admin>content post collection query to order posts by updated_at values in router.js - adds minified moment.js and links to moment.js and helper.js for clientside
76 lines
3.9 KiB
Handlebars
76 lines
3.9 KiB
Handlebars
<!doctype html>
|
|
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
|
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
|
<!--[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 charset="utf-8">
|
|
|
|
<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="width=device-width, initial-scale=1.0">
|
|
<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="/core/admin/assets/css/screen.css">
|
|
<link rel="stylesheet" type="text/css" href="/core/admin/assets/lib/codemirror/codemirror.css"> <!-- TODO: Kill this - #29 -->
|
|
{{{block "pageStyles"}}}
|
|
</head>
|
|
<body class="{{bodyClass}}">
|
|
{{#unless hideNavbar}}
|
|
{{> navbar}}
|
|
{{/unless}}
|
|
|
|
<main role="main" id="main">
|
|
{{> flashes}}
|
|
|
|
{{{body}}}
|
|
</main>
|
|
|
|
<script src="/core/admin/assets/lib/jquery/jquery.min.js"></script>
|
|
<script src="/core/admin/assets/lib/icheck/jquery.icheck.min.js"></script>
|
|
<script src="/core/admin/assets/lib/underscore.js"></script>
|
|
<script src="/core/admin/assets/lib/backbone/backbone.js"></script>
|
|
<script src="/core/admin/assets/lib/handlebars/handlebars-runtime.js"></script>
|
|
<script src="/core/admin/assets/lib/codemirror/codemirror.js"></script>
|
|
<script src="/core/admin/assets/lib/codemirror/mode/markdown/markdown.js"></script>
|
|
<script src="/core/admin/assets/lib/showdown/showdown.js"></script>
|
|
<script src="/core/admin/assets/lib/showdown/extensions/ghostdown.js"></script>
|
|
<script src="/core/admin/assets/lib/shortcuts.js"></script>
|
|
<script src="/core/admin/assets/lib/countable.js"></script>
|
|
<script src="/core/admin/assets/lib/jquery/jquery-ui-1.10.3.custom.min.js"></script>
|
|
<script src="/core/admin/assets/lib/packery.pkgd.min.js"></script>
|
|
|
|
<script src="/core/admin/assets/js/init.js"></script>
|
|
<script src="/core/admin/assets/tpl/hbs-tpl.js"></script>
|
|
<script src="/core/admin/assets/js/toggle.js"></script>
|
|
<script src="/core/admin/assets/js/admin-ui-temp.js"></script>
|
|
<script src="/core/admin/assets/js/markdown-actions.js"></script>
|
|
<script src="/core/admin/assets/js/tagui.js"></script>
|
|
<script src="/core/admin/assets/lib/moment.js"></script>
|
|
<script src="/core/admin/assets/js/helpers/index.js"></script>
|
|
|
|
<!-- // require '/core/admin/assets/js/models/*' -->
|
|
<script src="/core/admin/assets/js/models/post.js"></script>
|
|
<script src="/core/admin/assets/js/models/widget.js"></script>
|
|
<script src="/core/admin/assets/js/models/settings.js"></script>
|
|
<!-- // require '/core/admin/assets/js/views/*' -->
|
|
<script src="/core/admin/assets/js/views/base.js"></script>
|
|
<script src="/core/admin/assets/js/views/dashboard.js"></script>
|
|
<script src="/core/admin/assets/js/views/blog.js"></script>
|
|
<script src="/core/admin/assets/js/views/editor.js"></script>
|
|
<script src="/core/admin/assets/js/views/settings.js"></script>
|
|
<script src="/core/admin/assets/js/views/debug.js"></script>
|
|
<script src="/core/admin/assets/js/router.js"></script>
|
|
{{{block "bodyScripts"}}}
|
|
<script>
|
|
Ghost.init();
|
|
</script>
|
|
</body>
|
|
</html> |