summaryrefslogtreecommitdiffstats
path: root/htdocs/base.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-09 08:07:03 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-09 08:07:03 -0500
commit2ad28cbbfb4287164e7877923291bb18519688fc (patch)
tree7a7dac539d2085cb72cd357246620f7f2021f5e8 /htdocs/base.html
parentebf4af075b194229dd1cf3163b1e3cec1f1d3a0d (diff)
downloadsamanthony.xyz-2ad28cbbfb4287164e7877923291bb18519688fc.zip
replace repo contents with revamped site
Diffstat (limited to 'htdocs/base.html')
-rw-r--r--htdocs/base.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/htdocs/base.html b/htdocs/base.html
deleted file mode 100644
index f96c9c7..0000000
--- a/htdocs/base.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <!-- Child templates can choose to overwrite the default title -->
- {{ define "title" }}<title>samanthony.xyz</title>{{ end }}
- {{ template "title" }}
-
- <link rel="stylesheet" href="/css/style.css">
- <!-- Child templates can apply their own styles -->
- {{ define "style" }}{{ end }}
- {{ template "style" }}
- <!-- Code syntax highlighting -->
- <link rel="stylesheet" href="/css/syntax.css">
- </head>
- <body>
- <nav>
- {{ $this_section := .Nav.ThisSection }}
- {{ range .Nav.Links }}
- {{ if eq .Href $this_section }}
- <a class="this-section" href="{{ .Href }}">
- /<span class="label">{{ .Label }}</span>
- </a>
- {{else }}
- <a href="{{ .Href }}">
- |<span class="label">{{ .Label }}</span>
- </a>
- {{ end }}
- {{ end }}
- <hr>
- </nav>
- <main>
- {{ template "body_content" }}
- </main>
- <footer>
- <hr>
- <p>Copyright 2022 Sam Anthony</p>
- <p>
- samanthony.xyz is free software, licensed under the
- <a href="https://www.gnu.org/licenses/gpl.txt">
- GNU GPL.
- </a>
- </p>
- </body>
-</html>