Adding HTML redirect for HTTP site. - gopherhole - My website source code.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit d6e18ff28f83d95b8257cdb1a9e6437f291d5949
 (DIR) parent 5723e25cc13854a6041166a00bac19961bcc4d14
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Sat, 10 Sep 2022 12:05:38 +0100
       
       Adding HTML redirect for HTTP site.
       
       Diffstat:
         M .build.yml                          |       3 +++
         M index.html                          |       4 ++--
       
       2 files changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/.build.yml b/.build.yml
       @@ -2,11 +2,14 @@ image: alpine/edge
        oauth: pages.sr.ht/PAGES:RW
        environment:
          site: jay.scot
       +packages:
       +- hut
        tasks:
        - package: |
            cd $site
            tar --exclude .git -cvz . > ../site.tar.gz
        - upload: |
       +    hut pages publish -d $site site.tar.gz
            acurl -f https://pages.sr.ht/publish/$site \
              -Fcontent=@site.tar.gz \
              -Fprotocol=GEMINI
 (DIR) diff --git a/index.html b/index.html
       @@ -5,8 +5,8 @@
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <meta name="robots" content="noindex,nofollow" />
       +    <meta http-equiv="refresh" content="3; URL=https://git.sr.ht/~jayscott/" />
            <title>jay.scot</title>
       -    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
            <style>
                body {
                  color: #f0efd1;
       @@ -56,7 +56,7 @@
                                               ..
        
        
       -                        % use gemini to access content %
       +                        % redirecting to VCS content %
        </pre>
        </body>
        </html>