add date to homepage

This commit is contained in:
fred 2022-04-11 12:32:14 +02:00
parent 851b6c77e8
commit c782ae6bc4
2 changed files with 2 additions and 1 deletions

View File

@ -320,6 +320,7 @@ echo "##########################################################################
cp ${MY_PATH}/templates/homepage.html ~/.zen/bunkerbox/homepage/index.html
cp ${MY_PATH}/templates/crowbunkerbox.png ~/.zen/bunkerbox/homepage/
sed -i "s~_IPNSL_~$IPNSL~g" ~/.zen/bunkerbox/homepage/index.html
sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g " ~/.zen/bunkerbox/homepage/index.html
cp ~/.zen/bunkerbox/history.json ~/.zen/bunkerbox/homepage/history.json
cp ~/.zen/bunkerbox/calendar.json ~/.zen/bunkerbox/homepage/calendar.json

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>[BunkerBOX] Home </title>
<title>[BunkerBOX] Home _DATE_</title>
<link rel="icon" type="image/png" href="styles/logo.png" />
<link rel="stylesheet" href="styles/video-js.css" type="text/css" />
<link rel="stylesheet" href="styles/forest.css" type="text/css" />