From 8590aa21bb42b7453b4fcfa69a3d7d8eea6c0127 Mon Sep 17 00:00:00 2001 From: Gwyn Date: Sat, 20 Apr 2024 10:06:36 -0600 Subject: [PATCH] Updates all articles and projects to include the logo! --- tools/editnav.sh | 15 +++++++++++++++ .../fstest-mapfs-file-does-not-exist.html | 1 + website/articles/index.html | 1 + website/articles/testing-panics-in-go.html | 15 ++++++++------- .../articles/using-andrew-for-your-website.html | 1 + .../andrew-is-a-partial-site-generator.html | 1 + .../andrew/andrew-is-actually-a-web-server.html | 1 + .../projects/andrew/andrew-is-minimalistic.html | 1 + website/projects/index.html | 1 + ...erate-ssl-cert-for-non-kubernetes-service.html | 1 + website/projects/p4merge-wrapper/2024-01-24.html | 1 + 11 files changed, 32 insertions(+), 7 deletions(-) create mode 100755 tools/editnav.sh diff --git a/tools/editnav.sh b/tools/editnav.sh new file mode 100755 index 0000000..dca5b73 --- /dev/null +++ b/tools/editnav.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +for file in "$@"; do + if ! grep -q '' "$file"; then + tmp=$(mktemp) + # Ensure we handle the success of the pipeline correctly + if tr '\n' '\r' < "$file" | sed -E "s#(