forked from nat/webbed-site
add footer support, make include script
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
$[python3 -c 'import utils; print(utils.parse_file("html/header.html"))' | sed 's/\\$PREV_URL\\$/".."/']
|
||||
$[include html/header.html]
|
||||
<main>
|
||||
<section>
|
||||
<h1>Stats! Data! Wow!</h1>
|
||||
@ -14,8 +14,9 @@
|
||||
</section>
|
||||
<section>
|
||||
<h2>Currently available information:</h2>
|
||||
$[for line in $(cat main.py | grep Route -A1 | grep '/stats/' | sed "s/'//g; s/,//g"); do echo "$(make-link $line)<br>"; done]
|
||||
$[for line in $(cat main.py | grep Route -A1 | grep '/stats/' | sed "s/'//g; s/,//g"); do echo "$(make-link $line)"; done]
|
||||
</section>
|
||||
</main>
|
||||
$[include html/footer.html]
|
||||
<body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user