mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Move footer into a partial and make it always render the current year.
This commit is contained in:
parent
6c15d5f30b
commit
dbd2cd3368
@ -27,13 +27,12 @@
|
|||||||
|
|
||||||
<%= yield :navigation %>
|
<%= yield :navigation %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sg-24 sgParent">
|
<div class="sg-24 sgParent">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|
||||||
<footer class="sg-35">
|
|
||||||
© 2014 Dan Barber
|
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%= render 'shared/footer' %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
3
app/views/shared/_footer.html.erb
Normal file
3
app/views/shared/_footer.html.erb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<footer class="sg-35">
|
||||||
|
© <%= Time.now.year %> Dan Barber
|
||||||
|
</footer>
|
||||||
Loading…
Reference in New Issue
Block a user