summaryrefslogtreecommitdiff
path: root/makesite.py
diff options
context:
space:
mode:
Diffstat (limited to 'makesite.py')
-rwxr-xr-xmakesite.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/makesite.py b/makesite.py
index 20a3f54..25744ea 100755
--- a/makesite.py
+++ b/makesite.py
@@ -33,6 +33,7 @@ import re
import glob
import sys
import json
+import datetime
def fread(filename):
@@ -163,6 +164,7 @@ def main():
'subtitle': 'Lorem Ipsum',
'author': 'Admin',
'site_url': 'http://localhost:8000',
+ 'current_year': datetime.datetime.now().year
}
# If params.json exists, load it.