diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-13 11:29:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 11:29:19 +0200 |
commit | b04633a9614609f18b39ba0f0015df301a04ab64 (patch) | |
tree | c2cc9a8f4998e1e258f828d3d9d8db4440b10d8a /app/views/application | |
parent | 7afc6a630c76fb071bd189af3ac1366efc82f819 (diff) |
Add image processing and generate blurhash for server thumbnail (#19348)
Remove separate server hero setting
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_sidebar.html.haml b/app/views/application/_sidebar.html.haml index eb2813dd0..6d18668b0 100644 --- a/app/views/application/_sidebar.html.haml +++ b/app/views/application/_sidebar.html.haml @@ -1,6 +1,6 @@ .hero-widget .hero-widget__img - = image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.png'), alt: @instance_presenter.title + = image_tag @instance_presenter.thumbnail&.file&.url(:'@1x') || asset_pack_path('media/images/preview.png'), alt: @instance_presenter.title .hero-widget__text %p= @instance_presenter.description.html_safe.presence || t('about.about_mastodon_html') |