From f2a14d7d3203f458ead69b1de50287a600aeae8e Mon Sep 17 00:00:00 2001 From: Colin Murtaugh Date: Tue, 16 Apr 2019 10:27:11 -0400 Subject: [PATCH 1/2] made copyright year dynamic based on current year --- js/footer_copyright.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/footer_copyright.js b/js/footer_copyright.js index 3b381f9..2ad0895 100644 --- a/js/footer_copyright.js +++ b/js/footer_copyright.js @@ -5,8 +5,10 @@ $(document).ready(function(e) { * enough. also, wrapping things in

tags doesn't get you multiple * lines */ + var copyYear = new Date().getFullYear(); + var harvardCopy = - '

Copyright © 2018 The President and Fellows of Harvard College | ' + + '
Copyright © ' + copyYear + ' The President and Fellows of Harvard College | ' + 'Privacy Policy | ' + 'Acceptable Use Policy' + '
'; From 13883ad22f0c3d2ef6247bcb680f10f4424ee687 Mon Sep 17 00:00:00 2001 From: Colin Murtaugh Date: Tue, 16 Apr 2019 10:30:49 -0400 Subject: [PATCH 2/2] made the copyright year a range starting w 2013 --- js/footer_copyright.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/footer_copyright.js b/js/footer_copyright.js index 2ad0895..4272171 100644 --- a/js/footer_copyright.js +++ b/js/footer_copyright.js @@ -8,7 +8,7 @@ $(document).ready(function(e) { var copyYear = new Date().getFullYear(); var harvardCopy = - '
Copyright © ' + copyYear + ' The President and Fellows of Harvard College | ' + + '
Copyright © 2013-' + copyYear + ' The President and Fellows of Harvard College | ' + 'Privacy Policy | ' + 'Acceptable Use Policy' + '
';