From 54cefa3665ec86f72ef1356bd74c8a5f2ad05d08 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Mon, 7 Mar 2016 15:18:59 +0000 Subject: [PATCH] COPYRIGHT_YEAR gets filled auto --- pelicanconf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index aa82ec0..377e2f5 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +from datetime import datetime AUTHOR = 'marvin' SITENAME = 'xsteadfastx' @@ -84,7 +85,7 @@ FLICKR_API_KEY = '2207902126a225122e46533e82b6a947' GIPHY_API_KEY = 'dc6zaTOxFJmzC' DEFAULT_PAGINATION = 5 -COPYRIGHT_YEAR = 2015 +COPYRIGHT_YEAR = datetime.utcnow().strftime('%Y') CC_LICENSE = {'name': 'Creative Commons Attribution-ShareAlike', 'version': '4.0', 'slug': 'by-sa'}