Add separate setting for sidebar text (site_short_description) (#8107)
* Add separate setting for sidebar text (site_short_description) * Fix tests
This commit is contained in:
parent
9ae53ad59e
commit
cc56f2230a
9 changed files with 14 additions and 4 deletions
|
@ -3,4 +3,4 @@
|
|||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('preview.jpg'), alt: @instance_presenter.site_title
|
||||
|
||||
.hero-widget__text
|
||||
%p= @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
|
||||
%p= @instance_presenter.site_short_description.html_safe.presence || @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue