Created
November 8, 2017 17:29
-
-
Save wmakley/80221c753e27bf5d78e60d4a437071e9 to your computer and use it in GitHub Desktop.
Revisions
-
William Makley revised this gist
Nov 8, 2017 . No changes.There are no files selected for viewing
-
William Makley created this gist
Nov 8, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ {% assign currentYear = globals.site.dateNow | date: "yyyy" %} {% for i in (0..10) -%} {% capture yearIncrement -%}{{currentYear | plus: i}}{% endcapture -%} <option value="{{yearIncrement}}">{{yearIncrement}}</option> {% endfor -%}