This commit is contained in:
Nicolas Bally 2018-02-28 00:36:06 +01:00
parent 0d3687e09b
commit 1e0927cd94

View File

@ -258,7 +258,7 @@
-url = ""
-url = home_slider_slide.image_file.file.large.url
=link_to home_slider_slide.url.to_s do
.slide_inner.with_ratio{:style => "background:url('#{url}') black no-repeat center center;background-size:100%;background-size:cover;position:relative;", :data => {:ratio => 0.45}}
.slide_inner.with_ratio{:style => "background:url('#{url}') black no-repeat center center;background-size:100%;background-size:cover;position:relative;", :data => {:ratio => 0.37}}
-if home_slider_slide.title
%h1.title
=home_slider_slide.title