A few more absolute urls
This commit is contained in:
parent
00f762d002
commit
feab2beb95
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 153 KiB |
@ -1,5 +1,5 @@
|
||||
- content_for :banner do
|
||||
- image = image_url(@banner_image || 'empty-racks.jpg')
|
||||
- image = image_path(@banner_image || 'empty-racks.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
|
@ -1,4 +1,4 @@
|
||||
= render :partial => 'application/header', :locals => {:page_group => 'about', :page_key => 'About_BikeBike', :image_file => 'xconference.jpg'}
|
||||
= render :partial => 'application/header', :locals => {:page_group => 'about', :page_key => 'About_BikeBike', :image_file => 'workshop.jpg'}
|
||||
%article
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
@ -16,7 +16,7 @@
|
||||
%p=_'articles.about_bikebike.paragraphs.Who_is_Invited', :p
|
||||
= columns(medium: 12) do
|
||||
%h3=_'articles.about_bikebike.headings.Types_of_Workshops', :t
|
||||
%figure{style: "background-image: url(#{image_url('columbus_people.jpg')})"}
|
||||
%figure{style: "background-image: url(#{image_path('columbus_people.jpg')})"}
|
||||
%p=_'articles.about_bikebike.paragraphs.Types_of_Workshops', :p
|
||||
= columns(medium: 12) do
|
||||
%h3=_'articles.about_bikebike.headings.Amenities', :t
|
||||
|
@ -1,5 +1,5 @@
|
||||
- content_for :banner do
|
||||
- image = image_url(@banner_image || '403.jpg')
|
||||
- image = image_path(@banner_image || '403.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
|
@ -1,5 +1,5 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('grafitti.jpg')
|
||||
- image = image_path('grafitti.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
|
@ -1,5 +1,5 @@
|
||||
- content_for :banner do
|
||||
- image = image_url('grafitti.jpg')
|
||||
- image = image_path('grafitti.jpg')
|
||||
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
|
||||
- if capable_of(:svg)
|
||||
= render 'application/banner_image.svg', {:image => image}
|
||||
|
Loading…
x
Reference in New Issue
Block a user