Added tag page
[editorial.git] / error.hbs
index d753219d94951c15fbee8759ae656f899116004c..814663efe0223b2b73d2e3f967dfa72483cb8a95 100644 (file)
--- a/error.hbs
+++ b/error.hbs
@@ -40,7 +40,7 @@ You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in
                 <section class="error-wrapper">
 
                     <section class="error-message">
-                        <h1 class="error-code">{{code}}</h1>
+                        <h1 class="error-code">{{statusCode}}</h1>
                         <p class="error-description">{{message}}</p>
                         <a class="error-link" href="{{@site.url}}">Go to the front page →</a>
                     </section>
@@ -49,16 +49,16 @@ You'll notice that we *don't* use any JavsScript, or ghost_head / ghost_foot in
                     <section class="error-stack">
                         <h3>Theme errors</h3>
                         <ul class="error-stack-list">
-                            {{#each errorDetails}}
+                            {{#foreach errorDetails}}
                                 <li>
                                     <em class="error-stack-function">{{{rule}}}</em>
 
-                                    {{#each failures}}
+                                    {{#foreach failures}}
                                         <p><span class="error-stack-file">Ref: {{ref}}</span></p>
                                         <p><span class="error-stack-file">Message: {{message}}</span></p>
-                                    {{/each}}
+                                    {{/foreach}}
                                 </li>
-                            {{/each}}
+                            {{/foreach}}
                         </ul>
                     </section>
                     {{/if}}