mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Fix asset urls.
This commit is contained in:
parent
87ddf78cae
commit
694f791f93
@ -22,7 +22,7 @@
|
||||
|
||||
<div class="sgParent sg-12">
|
||||
<header class="sg-11">
|
||||
<%= link_to image_tag('/assets/title.svg', :alt => 'Dan Barber Photography', :width => 236), '/' %>
|
||||
<%= link_to image_tag(asset_url('title.svg'), :alt => 'Dan Barber Photography', :width => 236), '/' %>
|
||||
</header>
|
||||
|
||||
<%= yield :navigation %>
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sg-11" style="background: url(/assets/me.jpg);">
|
||||
<div class="sg-11" style="background: url(<%= asset_url('me.jpg') %>);">
|
||||
</div>
|
||||
|
||||
<div class="sg-5" style="background: #222;">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user