about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-10-08 22:08:55 +0200
committerGitHub <noreply@github.com>2019-10-08 22:08:55 +0200
commit19cdc627658166664fb1571ec45564d237e63757 (patch)
tree5ceb2c83ea31be5eb2464c08ed68a49483157f41 /app/views/about
parent4a98e77d0e7fec15e1830059a9a56bf56aa391db (diff)
Remove fallback to long description on sidebar and meta description (#12119)
Fix #12114
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/show.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index f24f4e195..80f4cd828 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -52,13 +52,12 @@
         .hero-widget__img
           = image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title
 
-        - if @instance_presenter.site_short_description.present?
-          .hero-widget__text
-            %p
-              = @instance_presenter.site_short_description.html_safe.presence
-              = link_to about_more_path do
-                = t('about.learn_more')
-                = fa_icon 'angle-double-right'
+        .hero-widget__text
+          %p
+            = @instance_presenter.site_short_description.html_safe.presence || t('about.about_mastodon_html')
+            = link_to about_more_path do
+              = t('about.learn_more')
+              = fa_icon 'angle-double-right'
 
         .hero-widget__footer
           .hero-widget__footer__column