From 070cb84131c5cf9925fc88e9d10a04894444dba2 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 13 Nov 2023 11:41:01 +0100 Subject: [PATCH] Use real timestamps on silverbullet.md --- scripts/build_website.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"