diff options
author | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:42:08 -0700 |
---|---|---|
committer | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:42:08 -0700 |
commit | b30d8da939eb3310bdbe19b685fba867e62f7610 (patch) | |
tree | d8cc914313b3bef3f1c29935ceb8c5e080756467 | |
parent | d2e27afdace9850bdc2dfcb3eaa9d07529021772 (diff) | |
download | tilde.club-b30d8da939eb3310bdbe19b685fba867e62f7610.tar.gz tilde.club-b30d8da939eb3310bdbe19b685fba867e62f7610.zip |
absolute html paths
-rw-r--r-- | .drone.yml | 2 | ||||
-rwxr-xr-x | html/build.sh | 2 | ||||
-rw-r--r-- | html/public/index.php | 12 | ||||
-rw-r--r-- | html/public/template.html | 8 |
4 files changed, 12 insertions, 12 deletions
@@ -7,7 +7,7 @@ steps: - name: build image: alpine commands: - - apk add git nodejs + - apk add git nodejs npm - sh compile.sh - apk add rsync openssh - sh deploy.sh diff --git a/html/build.sh b/html/build.sh index ec60003..85030dd 100755 --- a/html/build.sh +++ b/html/build.sh @@ -1,7 +1,7 @@ #!/bin/sh cp -r ./public ../dist/public_html -for dir in "turing-machine" "euler-golf" "godel-explorer"; do +for dir in "turing-machine" "euler-golf" "godel"; do mv staticsimponic/$dir ../dist/public_html/$dir done diff --git a/html/public/index.php b/html/public/index.php index 004a131..7f512fe 100644 --- a/html/public/index.php +++ b/html/public/index.php @@ -3,17 +3,17 @@ $content = ' <p>you are at my <a href="https://tilde.club">tilde.club</a> page right now! hi!</p> -<img src="/img/penguin.gif" alt="a penguin" style="width: 200px; height: 200px;"/> +<img src="/~simponic/img/penguin.gif" alt="a penguin" style="width: 200px; height: 200px;"/> <p><em>this is a penguin</em></p> <p>here you can:</p> <ul> - <li>vote on your favorite <a href="/fruit">fruit</a></li> - <li>play <a href="/the-abstraction-engine">the abstraction engine</a> (WIP)</li> - <li>play <a href="/euler-golf">euler golf 2</a></li> - <li>program a <a href="/turing-machine">turing machine</a></li> - <li>mess with <a href="/godel-explorer">godel numbers</a></li> + <li>vote on your favorite <a href="/~simponic/fruitvote">fruit</a></li> + <li>play <a href="/~simponic/the-abstraction-engine">the abstraction engine</a> (WIP)</li> + <li>play <a href="/~simponic/euler-golf">euler golf 2</a></li> + <li>program a <a href="/~simponic/turing-machine">turing machine</a></li> + <li>mess with <a href="/~simponic/godel">godel numbers</a></li> <li>more to come?</li> </ul> diff --git a/html/public/template.html b/html/public/template.html index 4867c55..99b75a8 100644 --- a/html/public/template.html +++ b/html/public/template.html @@ -6,15 +6,15 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>~simponic</title> - <link rel="stylesheet" href="/css/style.css"> + <link rel="stylesheet" href="/~simponic/css/style.css"> </head> <body> <div> - <h1><a href="/">~simponic</a></h1> + <h1><a href="/~simponic">~simponic</a></h1> <ul> - <li style="display:inline; margin-right: 20px; margin-left: 0px;"><a href="/">home</a></li> - <li style="display:inline; margin-right: 20px; margin-left: 0px;"><a href="/fruitvote">fruitvote</a></li> + <li style="display:inline; margin-right: 20px; margin-left: 0px;"><a href="/~simponic">home</a></li> + <li style="display:inline; margin-right: 20px; margin-left: 0px;"><a href="/~simponic/fruitvote">fruitvote</a></li> </ul> </div> <br /> |