Skip to content

Commit df99e39

Browse files
committed
jekyll current time (when you run the jekyll command)
1 parent c87f664 commit df99e39

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

_includes/themes/twitter/default.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@
4646
</div>
4747

4848
<footer>
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>
49+
<p>&copy; {{ site.author.name }} {{ site.time | date: '%Y' }}
5450
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
5551
and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
5652
</p>

0 commit comments

Comments
 (0)