Skip to content

Commit 95c4041

Browse files
committed
test
1 parent 301c3f2 commit 95c4041

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_includes/footer.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% capture this_year %}{{ site.time | date: "%Y" }}{% endcapture %}
12
<footer>
23
<div class="container">
34
<div class="row">
@@ -85,7 +86,7 @@
8586
<p class="copyright text-muted">
8687
<a href="{{ site.author.url }}">{{ site.author.name }}</a>
8788
&nbsp;&bull;&nbsp;
88-
{% if { site.time | date: '%Y' } == '2017' %}
89+
{% if this_year == '2017' %}
8990
Copyright 2017
9091
{% else %}
9192
Copyright 2017 - {{ site.time | date: '%Y' }}

0 commit comments

Comments
 (0)