🐛Fixed some deprecation errors (#26)
authorDaniel Neto <DanielNetoP@users.noreply.github.com>
Tue, 12 Nov 2019 07:35:18 +0000 (07:35 +0000)
committerAileen Nowak <AileenCGN@gmail.com>
Tue, 12 Nov 2019 07:35:18 +0000 (14:35 +0700)
closes #17

default.hbs
error.hbs

index d4eab4ee73e20cc742255afffda9aea14cd555e9..1ea4e2f2fee8ed893489267816bb13289c56e4d3 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="{{lang}}">
+<html lang="{{@site.lang}}">
 <head>
 
     {{!-- Document Settings --}}
index d753219d94951c15fbee8759ae656f899116004c..a10ba12ad36443b2d4bb907440a059fdc7d89085 100644 (file)
--- a/error.hbs
+++ b/error.hbs
@@ -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}}