PageRenderTime 1ms CodeModel.GetById 37ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/core/server/views/user-error.hbs

https://github.com/donaminos/Ghost
Handlebars | 55 lines | 51 code | 3 blank | 1 comment | 0 complexity | d3f861288052eae5894d223beeee011c MD5 | raw file
 1<!doctype html>
 2<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
 3<!--[if (gte IE 9)| IEMobile |!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
 4  <head>
 5    <meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
 6    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
 7
 8    <title>{{code}} — {{message}}</title>
 9    <meta name="description" content="{{siteDescription}}">
10    <meta name="author" content="">
11    <meta name="HandheldFriendly" content="True">
12    <meta name="MobileOptimized" content="320">
13    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
14    <meta name="apple-mobile-web-app-capable" content="yes" />
15
16    <link rel="shortcut icon" href="{{asset "favicon.ico"}}">
17    <meta http-equiv="cleartype" content="on">
18
19    <link rel="stylesheet" type='text/css' href='//fonts.googleapis.com/css?family=Open+Sans:400,300,700'>
20    <link rel="stylesheet" href="{{asset "css/ghost-ui.min.css" ghost="true"}}">
21  </head>
22  <body class="{{bodyClass}}">
23    <main role="main" id="main">
24      <section class="error-content error-404 js-error-container">
25        <section class="error-details">
26          <figure class="error-image">
27            <img
28              class="error-ghost"
29              src="{{asset "img/404-ghost@2x.png" ghost="true"}}"
30              srcset="{{asset "img/404-ghost.png" ghost="true"}} 1x, {{asset "img/404-ghost@2x.png" ghost="true"}} 2x"/>
31          </figure>
32          <section class="error-message">
33            <h1 class="error-code">{{code}}</h1>
34            <h2 class="error-description">{{message}}</h2>
35          </section>
36        </section>
37      </section>
38      {{#if stack}}
39        <section class="error-stack">
40          <h3>Stack Trace</h3>
41          <p><strong>{{message}}</strong></p>
42          <ul class="error-stack-list">
43            {{#foreach stack}}
44              <li>
45                at
46                {{#if function}}<em class="error-stack-function">{{function}}</em>{{/if}}
47                <span class="error-stack-file">({{at}})</span>
48              </li>
49            {{/foreach}}
50          </ul>
51        </section>
52      {{/if}}
53    </main>
54  </body>
55</html>