git.alexw.nyc home about git garden
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>{{.PageTitle }}</title>
  {{ if eq .URI.Path  "/gemlog" }}
  <link rel="alternate" type="application/atom+xml" 
    title="Atom Feed" 
      href="./atom.xml" />
  {{ end }}
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" type="text/css" href="//{{.Config.Host}}/style.css" />
  </head>
  <body>
<main>
{{.SiteBody}}
<br>
<hr class="thin" \>
{{$parent := parent .URI.Path}}
{{ if ne .URI.Path "/"}}
{{ if ne $parent "/"}}
<a href="{{parent .URI.Path}}/" title="Go to the parent directory">{{parent .URI.Path}}/</a>
{{ else }}
<a href="{{parent .URI.Path}}" title="Go to the parent directory">{{.URI.Host}}/</a>
{{ end }}
<br>
<br>
{{ end }}
<div class="footer">
  <details>
    <summary>Proxy</summary>
    Proxied from the <a href="?raw=1">original</a> at <a href="{{safeGeminiURL .GeminiURI.String}}">{{.GeminiURI.String}}</a>  
    <br>
    <a href="https://admin.flounder.online/gemini.gmi">About Gemini</a><br>
  <a href="https://{{.Config.Host}}">Hosted on {{.Config.SiteTitle}}</a></div> 
  </details>
</main>
</body>
</html>