From 9ac13bbc9c3e579b6e2e93c8ab60525e33cb7c33 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 20 Dec 2023 22:27:29 +0100 Subject: [PATCH] Fix glitch-only HAML linting issue --- app/views/layouts/error.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml index faedd43d09..6ecf1e4637 100644 --- a/app/views/layouts/error.html.haml +++ b/app/views/layouts/error.html.haml @@ -6,8 +6,8 @@ %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ') %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/ = javascript_pack_tag 'common', crossorigin: 'anonymous' - = render partial: 'layouts/theme', object: (@core || { pack: 'common' }) - = render partial: 'layouts/theme', object: (@theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } }) + = render partial: 'layouts/theme', object: @core || { pack: 'common' } + = render partial: 'layouts/theme', object: @theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } } %body.error .dialog .dialog__illustration