Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04dd266

Browse files
committed
Changed footer to have dynamic year
1 parent 982b1a5 commit 04dd266

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_includes/footer.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
{%- assign _locale_copyright_dates = __return -%}
2727
<div class="site-info mt-2">
2828
<div>
29-
{%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%}
30-
{%- assign _locale_copyright_dates = __return -%}
31-
© {{ site.title }} {{ _locale_copyright_dates }}
29+
© {{ site.title }} {{ site.time | date: '%Y' }}
3230
</div>
3331
</div>
3432
</div>

0 commit comments

Comments
 (0)