Skip to content

Commit c11b455

Browse files
A little change on layout template
Adding current year to all layout templates
1 parent 3ebe7b1 commit c11b455

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/generators/bootstrap/layout/templates/layout.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<%- end -%>
9898

9999
<footer>
100-
<p>&copy; Company 2013</p>
100+
<p>&copy; Company <%= Date.today.year %></p>
101101
</footer>
102102

103103
</div> <!-- /container -->

lib/generators/bootstrap/layout/templates/layout.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
%li= link_to "Link 3", "/path3"
6363
<% end %>
6464
%footer
65-
%p &copy; Company 2013
65+
%p &copy; Company <%= Date.today.year %>

lib/generators/bootstrap/layout/templates/layout.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ html lang="en"
6464
li= link_to "Link 3", "/path3"
6565
<% end %>
6666
footer
67-
p &copy; Company 2013
67+
p &copy; Company <%= Date.today.year %>

0 commit comments

Comments
 (0)