From 3aa7a93a05b1e6d5e14af5adc4347a09f01b36c7 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Thu, 8 Aug 2024 14:55:05 +0200 Subject: design tweaks Updated barf Dropped /about in favour of individual pages (again) Shamelessly copying Bradley Taunt's [1] latest website design changes. Minor content edits 1: http://btxx.org --- barf | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) (limited to 'barf') diff --git a/barf b/barf index 81bbcd2..f77512d 100755 --- a/barf +++ b/barf @@ -1,4 +1,19 @@ #!/bin/sh + +domain="https://adast.dk" + +# Check the operating system +os_name=$(uname -s) + +if [ "$os_name" = "OpenBSD" ]; then + alias sed=gsed + alias date=gdate + alias rsync=openrsync +elif [ "$os_name" = "Darwin" ]; then + alias sed=gsed + alias date=gdate +fi + set -eu MARKDOWN=smu IFS=' ' @@ -20,13 +35,13 @@ index_html() { # Intro text $MARKDOWN index.md - echo "