forked from qo-op/bunkerbox
add date to homepage
This commit is contained in:
parent
851b6c77e8
commit
c782ae6bc4
|
@ -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
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue