From 2ad28cbbfb4287164e7877923291bb18519688fc Mon Sep 17 00:00:00 2001
From: Sam Anthony
Date: Fri, 9 Jan 2026 08:07:03 -0500
Subject: replace repo contents with revamped site
---
htdocs/base.html | 46 ------------------
htdocs/css/style.css | 83 -------------------------------
htdocs/css/syntax.css | 19 --------
htdocs/index.html | 97 -------------------------------------
htdocs/software/index.html | 20 --------
htdocs/software/samanthony.xyz.html | 50 -------------------
6 files changed, 315 deletions(-)
delete mode 100644 htdocs/base.html
delete mode 100644 htdocs/css/style.css
delete mode 100644 htdocs/css/syntax.css
delete mode 100644 htdocs/index.html
delete mode 100644 htdocs/software/index.html
delete mode 100644 htdocs/software/samanthony.xyz.html
(limited to 'htdocs')
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 @@
-
-
-
-
-
-
- {{ define "title" }}samanthony.xyz {{ end }}
- {{ template "title" }}
-
-
-
- {{ define "style" }}{{ end }}
- {{ template "style" }}
-
-
-
-
-
- {{ $this_section := .Nav.ThisSection }}
- {{ range .Nav.Links }}
- {{ if eq .Href $this_section }}
-
- /{{ .Label }}
-
- {{else }}
-
- |{{ .Label }}
-
- {{ end }}
- {{ end }}
-
-
-
- {{ template "body_content" }}
-
-
-
- Copyright 2022 Sam Anthony
-
- samanthony.xyz is free software, licensed under the
-
- GNU GPL.
-
-
-
-
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
deleted file mode 100644
index 325f87e..0000000
--- a/htdocs/css/style.css
+++ /dev/null
@@ -1,83 +0,0 @@
-:root {
- --fg-color: white;
- --bg-color: black;
- --highlight-color: #4acaa4;
-}
-
-html { height: 100%; }
-
-body {
- display: flex;
- flex-direction: column;
- height: 100%;
-
- background-color: var(--bg-color);
- color: var(--fg-color);
-
- font-family: sans-serif;
-}
-
-main {
- margin-bottom: auto;
- align-self: center;
- max-width: 80em;
- width: 95vw;
-}
-
-.hanging-indent {
- padding-left: 2em;
- text-index: -2em;
-}
-
-header :first-child { margin-bottom: 0px; }
-
-hr {
- margin: 0px;
- color: var(--fg-color);
-}
-
-ul { padding-left: 2em; }
-
-/* Tables */
-table { padding-top: 1em; }
-th { text-align: left; }
-td:first-child { padding-right: 0.5em; }
-
-/* Links */
-a {
- color: var(--highlight-color);
- text-decoration: none;
-}
-a:hover { text-decoration: underline 0.055em; }
-
-/* Quotes */
-blockquote p { margin: 0px; }
-blockquote p:first-child { font-style: italic; }
-blockquote p:nth-child(2) {
- text-indent: 2em;
-}
-
-/* Nav */
-body { margin: 0px; }
-nav { background-color: var(--highlight-color); }
-nav a {
- margin-left: 0.2em;
-
- font-size: 1.6em;
- font-weight: normal;
-
- color: var(--fg-color);
-}
-nav a:first-child .label { font-weight: bold; }
-nav .label { font-size: 0.7em; }
-nav .this-section { font-style: italic; }
-
-/* Footer */
-footer {
- background-color: var(--highlight-color);
- text-align: center;
-}
-footer a {
- color: var(--fg-color);
- font-style: italic;
-}
diff --git a/htdocs/css/syntax.css b/htdocs/css/syntax.css
deleted file mode 100644
index f425178..0000000
--- a/htdocs/css/syntax.css
+++ /dev/null
@@ -1,19 +0,0 @@
-code {
- border: 0.055em solid var(--highlight-color);
- border-radius: 0.5em;
- padding-top: 0.2em;
- padding-bottom: 0.1em;
- padding-left: 0.5em;
- padding-right: 0.5em;
-
- display: inline-block;
- vertical-align: middle;
-
- background-color: #282828;
-}
-
-/* HTML */
-/* Tag */ code[data-lang="html"] .t { color: var(--highlight-color); }
-/* Element */ code[data-lang="html"] .e { color: #9b5712; }
-/* AttributeName */ code[data-lang="html"] .an { color: #91931b; }
-/* AttributeValue */ code[data-lang="html"] .av { color: red; }
diff --git a/htdocs/index.html b/htdocs/index.html
deleted file mode 100644
index 821d693..0000000
--- a/htdocs/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
-{{ define "body_content" }}
-
- Why This Site Exists
-
-
-
-
- Most of the modern Web sucks. This is my futile attempt at changing that.
-
-
-
- Many sites these days try to solve problems that don't exist using improper
- tools and techniques to do so. The classic example is JavaScript;
- client-side scripting can be quite useful in certain situations .
- The problem, however, is that most situations are not these situations.
-
-
-
- The vast majority of websites could be simple HTML( + CSS) pages and gain all
- the benefits that go along with that, namely simplicity ,
- speed/performance and
-
- reliability .
- Instead, people choose to complicate things.
-
-
- "Install this plugin!"
- "Use this framework!"
-
-
- Rather than fixing the underlying problem by stripping back the layers to
- find that we really just want to render some HTML, we instead pile more
- on top, obscuring and worsening whatever problem we think we're trying to
- solve.
-
-
-
-
- "Millions of jobs are based on outputting HTML in an inefficient way."
-
- — suckless.org
-
-
-
- Some common excuses for "I need to use x:"
-
-
- "It's responsive"
-
-
- Setting this meta tag:
-
- <meta
- name ="viewport"
- content ="width=device-width, initial-scale=1.0" >
-
-
- along with some very basic CSS is all that's required for a
- responsive site that looks good on any screen.
-
-
-
- "It looks nicer"
-
- JavaScript . Cascading
- Style Sheets. See the problem?
- Don't use scripts for styling. Also, no, it doesn't look nicer.
-
-
-
- "It's makes for a better user experience"
-
- If you like waiting seconds for a page to load before scrolling an
- entire screen height with a parallaxed background just to read two
- words then yes, that is a good experience.
- Personally, I would rather not have to hover my cursor through a maze
- of eight nested, animated drop-down menus while being bombarded by
- popups asking for personal information and telling me that the site
- uses
-
- cookies .
-
-
-
-
-
-
-
-
- Start your own website where you can complain about stuff too! Anyone can
- and everyone should. With
- all the information that's out there
- it's never been easier to help fix the Web by creating your own site.
-{{ end }}
diff --git a/htdocs/software/index.html b/htdocs/software/index.html
deleted file mode 100644
index ecf8d95..0000000
--- a/htdocs/software/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{{ define "title" }}
-
software | samanthony.xyz
-{{ end }}
-
-{{ define "body_content" }}
-
- Software Hosted Here
-
-
-
-{{ end }}
diff --git a/htdocs/software/samanthony.xyz.html b/htdocs/software/samanthony.xyz.html
deleted file mode 100644
index dc0c38c..0000000
--- a/htdocs/software/samanthony.xyz.html
+++ /dev/null
@@ -1,50 +0,0 @@
-{{ define "title" }}
- software | samanthony.xyz
-{{ end }}
-
-{{ define "style" }}
-
-{{ end }}
-
-{{ define "body_content" }}
-
- samanthony.xyz
- This website
-
-
-
- Get a copy of the source code with
- git clone git://samanthony.xyz/samanthony.xyz.git.
-
-
- The site uses HTML templates to avoid tedium and for the ability to make
- small changes across the entire site without editing multiple files. It uses
- the html/template package included in Go's standard library.
-
-
- A server is required to serve these templates. Once again Go provides with
- the built in http package. This makes writing a web server extremely easy.
- All you have to do is write a function to handle incoming requests and call
- http.ListenAndServe(). Painless.
-
-
- Since I'm running OpenBSD, TLS can be dealt with external to the webserver
- by using relayd. As an aside, I encourage anyone looking for an operating
- system to give OpenBSD a look. It's been an absolute pleasure to work with
- so far. As long as you don't expect it to be exactly like a Linux-based
- system (it's not), then not only is it more secure, but also
- easier to use than something Linux-based. Even for a noob like
- myself. Sane design and good documentation go a long way.
-
-
- Inspiration was taken from httpd and the server runs chroot'd. When
- serving content it also drops down to an unprivileged user with setuid.
-
-{{ end }}
--
cgit v1.2.3