From e699819f8c6ca479f53901f2f695d0a96f77f196 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 24 Oct 2021 22:58:33 -0400 Subject: [PATCH] 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! --- .gitignore | 1 + Makefile | 6 ++++++ index.html | 49 ------------------------------------------------- index.md | 37 +++++++++++++++++++++++++++++++++++++ template.html | 11 +++++++++++ 5 files changed, 55 insertions(+), 49 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile delete mode 100644 index.html create mode 100644 index.md create mode 100644 template.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dcaf716 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +index.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3d38754 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +.PHONY: all +all: index.html + +.SUFFIXES: .md .html +.md.html: + (sed '//q' template.html; cmark < $<; printf "\n\n") > $@ diff --git a/index.html b/index.html deleted file mode 100644 index b68a8e9..0000000 --- a/index.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - -

~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. -

-

-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:

- - -

Done:

- - - diff --git a/index.md b/index.md new file mode 100644 index 0000000..5003784 --- /dev/null +++ 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 new file mode 100644 index 0000000..816261e --- /dev/null +++ b/template.html @@ -0,0 +1,11 @@ + + + + +~alex + + + + + + -- libgit2 1.1.1