garbash-www

archive of ~alex garbash.com page
git clone git://git.alexkarle.com.com/garbash-www
Log | Files | Refs | README | LICENSE

commit e699819f8c6ca479f53901f2f695d0a96f77f196 (patch)
parent 8ea58519766d91da48052999e92db28b2b4e2947
Author: alex <alex@garbash.com>
Date:   Sun, 24 Oct 2021 22:58:33 -0400

index: Move to a markdown-based page

As much as I like hand-crafting the HTML, the markdown reads _so_
much cleaner. This is also just a small experiment into looking at
the feasibility of markdown-driven wikis!

Diffstat:
A.gitignore | 1+
AMakefile | 6++++++
Dindex.html | 49-------------------------------------------------
Aindex.md | 37+++++++++++++++++++++++++++++++++++++
Atemplate.html | 11+++++++++++
5 files changed, 55 insertions(+), 49 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +index.html diff --git a/Makefile b/Makefile @@ -0,0 +1,6 @@ +.PHONY: all +all: index.html + +.SUFFIXES: .md .html +.md.html: + (sed '/<body>/q' template.html; cmark < $<; printf "</body>\n</html>\n") > $@ diff --git a/index.html b/index.html @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"/> -<meta name="viewport" content="width=device-width,initial-scale=1"> -</head> -<body> -<h1>~alex's page</h1> -<h2>About Me</h2> -<p> -Hey! I'm alex. I'm a programmer by day and sysadmin by night. -I co-admin this site with -<a href="/~anthony">~anthony</a>. -</p> -<p> -Below you'll find both an ongoing list of things I'd like to do for -this site along with my field notes on how I set each thing up! -</p> - -<h2>Game plan</h2> - -<h3>TODO:</h3> -<ul> -<li>Wildcard cert for internal services</li> -<li>Start inviting people</li> -<li>Automate account creation</li> -<li>Homepage</li> -<li>wiki</li> -<li>Gopher hosting</li> -<li>Gemini hosting</li> -<li>Set up IRC services (NickServ)</li> -</ul> - -<h3>Done:</h3> -<ul> -<li><a href="notes/001-domain-name.txt">Awesome domain name :)</a></li> -<li><a href="notes/002-install.txt">OpenBSD install on Linode</a></li> -<li><a href="notes/003-httpd.txt">HTTP(S) server</a></li> -<li><a href="notes/004-mail-server.txt">Email (SPF, DKIM, etc)</a></li> -<li><a href="notes/005-ssh-hardening.txt">SSH hardening</a></li> -<li><a href="notes/006-use-the-src.txt">Obtained the source code for the system</a></li> -<li><a href="notes/007-git-coding.txt">Set up git hosting via stagit(1)</a></li> -<li><a href="notes/008-local-irc.txt">Set up IRC for tilde members</a></li> -<li><a href="notes/009-wireguard.txt">Set up wireguard</a></li> -<li><a href="notes/010-irc-bouncer.txt">Set up IRC bouncer</a></li> -<li><a href="notes/011-backups.txt">Basic backup solution</a></li> -</ul> -</body> -</html> diff --git a/index.md b/index.md @@ -0,0 +1,37 @@ +~alex's page +============ + +About Me +-------- +Hey! I'm alex. I'm a programmer by day and sysadmin by night. +I co-admin this site with [~anthony](/~anthony). + +Below you'll find both an ongoing list of things I'd like to do for +this site along with my field notes on how I set each thing up! + +Game Plan +--------- +### TODO: + +* Wildcard cert for internal services +* Start inviting people +* Automate account creation +* Homepage +* wiki +* Gopher hosting +* Gemini hosting +* Set up IRC services (NickServ) + +### Done: + +* [Awesome domain name :)](notes/001-domain-name.txt) +* [OpenBSD install on Linode](notes/002-install.txt) +* [HTTP(S) server](notes/003-httpd.txt) +* [Email (SPF, DKIM, etc)](notes/004-mail-server.txt) +* [SSH hardening](notes/005-ssh-hardening.txt) +* [Obtained the source code for the system](notes/006-use-the-src.txt) +* [Set up git hosting via stagit(1)](notes/007-git-coding.txt) +* [Set up IRC for tilde members](notes/008-local-irc.txt) +* [Set up wireguard](notes/009-wireguard.txt) +* [Set up IRC bouncer](notes/010-irc-bouncer.txt) +* [Basic backup solution](notes/011-backups.txt) diff --git a/template.html b/template.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"/> +<title>~alex</title> +<meta name="viewport" content="width=device-width,initial-scale=1"> +</head> +<body> + <!-- TEMPLATE --> +</body> +</html>