From 7e74a039122aef922d1619e636de3497ffcf7c60 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 25 Jun 2022 10:56:36 -0400 Subject: convert to hugo --- barsup | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 barsup (limited to 'barsup') diff --git a/barsup b/barsup deleted file mode 100755 index 71d21d4..0000000 --- a/barsup +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# Replace existing navs and footers with content of nav and footer files. - -navfile="/home/luke/.local/src/landchad/.nav.html" -footerfile="/home/luke/.local/src/landchad/.footer.html" - -files="$(for x in $(find /home/luke/.local/src/landchad -type f -iname '*.html'); do - echo "$x" -done)" - -escnav="$(sed "s|^\s\+||;s|/|\\\\/|g;s|\"|\\\\\"|g" "$navfile" 2>/dev/null | tr -d '\n')" -escfooter="$(sed "s|^\s\+||;s|/|\\\\/|g;s|\"|\\\\\"|g" "$footerfile" 2>/dev/null | tr -d '\n')" - -sed -s -i "s/