alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit f51e34679fd2a760c0a6dd34ef3988374112cbf6 (patch)
parent 145fda165d3e7c5fa188030ade1c2eebdf53ba73
Author: Alex Karle <alex@alexkarle.com>
Date:   Fri, 10 Sep 2021 00:07:45 -0400

git: Change alexkarle.com/git links to git.alexkarle.com

While I'm still using stagit and I could still very well use /git,
the recent rollout of text.alexkarle.com has made me appreciate that
the use of a new subdomain allows me to put the files anywhere in the
httpd chroot.

More specifically, the html for www, the text, and the git html all
all in separate, non-nested, trees now. Rather than move git's files
under the html tree, it feels cleanest to make git.alexkarle.com it's
own thing! It leaves the door open to cgit or whatever I choose in
the future :)

Diffstat:
Mintro.7 | 2+-
Mlicense.7 | 2+-
Mmy-old-man.7 | 6+++---
Muse-feeds.7 | 4++--
4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/intro.7 b/intro.7 @@ -32,7 +32,7 @@ page enthusiast. .It .Xr uses 7 .It -.Lk /git projects(7) +.Lk https://git.alexkarle.com projects(7) .El .Sh CONTACT Email: contact AT this-domain diff --git a/license.7 b/license.7 @@ -18,7 +18,7 @@ are licensed under a MIT license. .It .Lk /LICENSE MIT license .It -.Lk https://alexkarle.com/git/alexkarle.com Source code for the site +.Lk https://git.alexkarle.com/alexkarle.com Source code for the site .It .Xr intro 7 .It diff --git a/my-old-man.7 b/my-old-man.7 @@ -21,7 +21,7 @@ from a markdown based templated site to a based site. .Pp After pointing out that -.Lk /git/alexkarle.com/file/intro.7.html I really did +.Lk https://git.alexkarle.com/alexkarle.com/file/intro.7.html I really did rewrite my site in .Xr mdoc 7 , you might be wondering @@ -119,7 +119,7 @@ The rest is just listing the man pages I want built, with a phony default target depending on the html pages so that a `make` builds them all. Check out the full source -.Lk https://alexkarle.com/git/alexkarle.com/file/Makefile.html here . +.Lk https://git.alexkarle.com/alexkarle.com/file/Makefile.html here . .Ss Deploying via git hook Since I'm self-hosting git on the same server as the website, it's trivial to deploy when it receives a push by leveraging git hooks. @@ -145,7 +145,7 @@ area and rebuilds only the necessary HTML files (thanks to If I had files I didn't want served, I would modify it to build elsewhere and copy the contents to /var/www; however, I'm publishing both the source for the site and the git history at -.Lk https://alexkarle.com/git , +.Lk https://git.alexkarle.com , so I don't see any harm to having the README.md accessible from the root. .Sh SEE ALSO .Bl -bullet -compact diff --git a/use-feeds.7 b/use-feeds.7 @@ -88,7 +88,7 @@ What I can say is that after the initial confusion of how to escape the embedded HTML in the XML feed, it was pretty smooth sailing. .Pp The full implementation is in -.Lk https://alexkarle.com/git/alexkarle.com/file/bin/genatom.sh.html genatom.sh +.Lk https://git.alexkarle.com/alexkarle.com/file/bin/genatom.sh.html genatom.sh and basically boils down to: .Pp .Bl -enum -compact @@ -121,7 +121,7 @@ And of course, like everything else in this blog, it rebuilds on git-push via a call to .Xr make 1 . See the -.Lk https://alexkarle.com/git/alexkarle.com/file/Makefile.html Makefile +.Lk https://git.alexkarle.com/alexkarle.com/file/Makefile.html Makefile for the recipe. .Sh SEE ALSO .Bl -bullet -compact