Skip to content

Commit c87f664

Browse files
committed
Display current year via javascript
1 parent c06cbf3 commit c87f664

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_includes/themes/twitter/default.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
</div>
4747

4848
<footer>
49-
<p>&copy; {{ site.author.name }} 2012
49+
<script type="text/javascript">
50+
var currentTime = new Date();
51+
</script>
52+
53+
<p>&copy; {{ site.author.name }} <script type="text/javascript">document.write(currentTime.getFullYear());</script>
5054
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
5155
and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
5256
</p>

0 commit comments

Comments
 (0)