Add PATCHES_URL environment variable
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
714f8c9612
commit
ec26576414
|
@ -32,7 +32,10 @@ $ make
|
|||
7. Profit
|
||||
|
||||
# Environment
|
||||
All of these are optional.
|
||||
|
||||
`PATCHES_URL` - Link to any patches that were applied. Necessary if there are any. Do not set if there aren't.
|
||||
|
||||
The following are optional.
|
||||
|
||||
`PORT` - What port to run on (default `8003`).
|
||||
|
||||
|
|
|
@ -137,7 +137,11 @@
|
|||
`(footer
|
||||
(div (@ (class "box footer"))
|
||||
(p (a (@ (href "http://git.vern.cc/cobra/MeMe"))
|
||||
"Source Code")))))
|
||||
"Source Code"))
|
||||
,(if (getenv "PATCHES_URL")
|
||||
`(p (a (@ (href ,(getenv "PATCHES_URL")))
|
||||
"Patches"))
|
||||
`()))))
|
||||
|
||||
(define (leaderboard->sxml leaderboard)
|
||||
`(div (@ (class "leaderboard box"))
|
||||
|
|
|
@ -86,6 +86,7 @@ a {
|
|||
|
||||
.footer.box {
|
||||
width: 97%;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.leaderboard.box p {
|
||||
|
|
Loading…
Reference in New Issue