about summary refs log tree commit diff
path: root/app/views/application
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-31 18:59:34 +0200
committerGitHub <noreply@github.com>2018-07-31 18:59:34 +0200
commitcc56f2230a10c4fded80a34e5297fad8d9891e02 (patch)
treeb1bb13c698c8aeffc946da8a1f1025983ba58398 /app/views/application
parent9ae53ad59ee18459775d19c4699c771c7f86fa7c (diff)
Add separate setting for sidebar text (site_short_description) (#8107)
* Add separate setting for sidebar text (site_short_description)

* Fix tests
Diffstat (limited to 'app/views/application')
-rw-r--r--app/views/application/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_sidebar.html.haml b/app/views/application/_sidebar.html.haml
index 3d8832bb4..2ff14b252 100644
--- a/app/views/application/_sidebar.html.haml
+++ b/app/views/application/_sidebar.html.haml
@@ -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)