Only show header image container on /about/more page if there's a custom hero or thum…
This commit is contained in:
parent
7fb4c7d89d
commit
b151f24dd8
@ -8,8 +8,9 @@
|
||||
.grid-3
|
||||
.column-0
|
||||
.public-account-header.public-account-header--no-bar
|
||||
.public-account-header__image
|
||||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title, class: 'parallax'
|
||||
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
|
||||
.public-account-header__image
|
||||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url, alt: @instance_presenter.site_title, class: 'parallax'
|
||||
|
||||
.column-1
|
||||
.landing-page__call-to-action{ dir: 'ltr' }
|
||||
|
Loading…
Reference in New Issue
Block a user