preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

add build_date to site, set during build #574

Open jberger opened 5 years ago

jberger commented 5 years ago

Before this commit any functionality that depended on knowing the build date (which is possibly overridden by the command line) would need to have the date passed in to it. With this change the site now knows what the build date is and is therefore accessible by anything with access to the site object.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.02%) to 89.943% when pulling 8bc965cdd5ec5c784a0b7c4364fb842534bb44d5 on jberger:build_date into 3e13a9040721b3306dd734d1189cb538c837ef03 on preaction:master.