Added haml-lint and fix warnings (#2773)
* add haml_lint to Gemfile * add .haml-lint.yml * fix warnings of haml_lint
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
%h2= site_hostname
|
||||
|
||||
- unless @instance_presenter.site_description.blank?
|
||||
%p= @instance_presenter.site_description.html_safe
|
||||
%p!= @instance_presenter.site_description
|
||||
|
||||
.information-board
|
||||
.section
|
||||
@ -25,7 +25,7 @@
|
||||
%span= t 'about.domain_count_after'
|
||||
|
||||
- unless @instance_presenter.site_extended_description.blank?
|
||||
.panel= @instance_presenter.site_extended_description.html_safe
|
||||
.panel!= @instance_presenter.site_extended_description
|
||||
|
||||
.sidebar
|
||||
= render 'contact', contact: @instance_presenter
|
||||
|
Reference in New Issue
Block a user