c331e06975
refs #6421, #6525 - The configuration API endpoint was a bit of an animal: - It's used currently in two ways, once for general config, another for the about page. - These two things are different, and would require different permissions in future. - There was also both a browse and a read version, even though only browse was used. - The response from the browse was being artificially turned into many objects, when its really just one with multiple keys - The new version treats each type of config as a different single object with several keys - The new version therefore only has a 'read' request - A basic read request with no key will return basic config that any client would need - A read request with the about key returns the about config - A read request with a different key could therefore return some other config
57 lines
2.6 KiB
HTML
57 lines
2.6 KiB
HTML
<!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>Ghost Admin</title>
|
|
|
|
{{content-for 'head'}}
|
|
|
|
<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, minimal-ui" />
|
|
<meta name="pinterest" content="nopin" />
|
|
|
|
<meta http-equiv="cleartype" content="on" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="apple-mobile-web-app-title" content="Ghost" />
|
|
|
|
<link rel="shortcut icon" href="{{asset "favicon.ico"}}" />
|
|
<link rel="apple-touch-icon-precomposed" href="{{asset "img/touch-icon-iphone.png" ghost="true"}}" />
|
|
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{asset "img/touch-icon-ipad.png" ghost="true"}}" />
|
|
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{asset "img/small.png" ghost="true"}}" />
|
|
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{asset "img/medium.png" ghost="true"}}" />
|
|
|
|
<meta name="application-name" content="Ghost" />
|
|
<meta name="msapplication-TileColor" content="#ffffff" />
|
|
<meta name="msapplication-square70x70logo" content="{{asset "img/small.png" ghost="true"}}" />
|
|
<meta name="msapplication-square150x150logo" content="{{asset "img/medium.png" ghost="true"}}" />
|
|
<meta name="msapplication-square310x310logo" content="{{asset "img/large.png" ghost="true"}}" />
|
|
|
|
{{#each configuration as |config key|}}
|
|
<meta name="env-{{key}}" content="{{config.value}}" data-type="{{config.type}}" />
|
|
{{/each}}
|
|
|
|
{{#if configuration.useGoogleFonts.value}}
|
|
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,700" />
|
|
{{/if}}
|
|
|
|
<link rel="stylesheet" href="{{asset "vendor.css" ghost="true" minifyInProduction="true"}}" />
|
|
<link rel="stylesheet" href="{{asset "ghost.css" ghost="true" minifyInProduction="true"}}" />
|
|
|
|
{{content-for 'head-footer'}}
|
|
</head>
|
|
<body>
|
|
{{content-for 'body'}}
|
|
|
|
{{content-for 'body-footer'}}
|
|
|
|
{{! Dem scripts }}
|
|
<script src="{{asset "vendor.js" ghost="true" minifyInProduction="true"}}"></script>
|
|
<script src="{{asset "ghost.js" ghost="true" minifyInProduction="true"}}"></script>
|
|
</body>
|
|
</html>
|