1
0
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:
Dan Barber 2014-12-11 17:39:47 +00:00
parent 6c15d5f30b
commit dbd2cd3368
2 changed files with 6 additions and 4 deletions

View File

@ -27,13 +27,12 @@
<%= yield :navigation %>
</div>
<div class="sg-24 sgParent">
<%= yield %>
<footer class="sg-35">
&copy; 2014 Dan Barber
</footer>
</div>
<%= render 'shared/footer' %>
</div>
</div>

View File

@ -0,0 +1,3 @@
<footer class="sg-35">
&copy; <%= Time.now.year %> Dan Barber
</footer>