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 --- .build.yml | 2 +- barf | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- footer.html | 18 ++++++++--------- header.html | 8 +++++--- index.md | 10 +++++++++- pages/about.md | 38 ----------------------------------- pages/donate.md | 21 ++++++-------------- pages/now.md | 15 ++++++++++++++ pages/projects.md | 10 ++++++++++ pages/resume.md | 8 +++++--- pages/services.md | 6 +++++- pages/uses.md | 37 +++++++++++++++++++--------------- 12 files changed, 142 insertions(+), 90 deletions(-) delete mode 100644 pages/about.md create mode 100644 pages/now.md create mode 100644 pages/projects.md diff --git a/.build.yml b/.build.yml index 5a1fb27..caba076 100644 --- a/.build.yml +++ b/.build.yml @@ -7,7 +7,7 @@ secrets: - 4c5cebdb-c744-4dfb-a69a-30b9bdfe048c sources: - https://git.sr.ht/~adamski/adast.dk - - https://git.btxx.org/smu + - https://git.sr.ht/~bt/smu environment: deploy: srht@adast.dk mirror: mirror.adast.dk 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 "