diff --git a/scripts/build_website.sh b/scripts/build_website.sh index d887534..8adec64 100755 --- a/scripts/build_website.sh +++ b/scripts/build_website.sh @@ -33,7 +33,7 @@ rm -rf website_build/_plug/{plugmd,directive}.plug.js # Generate random modified date, and replace in _headers too -export LAST_MODIFIED_TIMESTAMP=$RANDOM +export LAST_MODIFIED_TIMESTAMP=$(date +%s000) cat website/_headers | sed "s/12345/$LAST_MODIFIED_TIMESTAMP/g" > website_build/_headers echo "Generating file listing"