blob: 4ddbe68046a89414a65d644f821cf4f56445beb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
set -e
# usage: ./front.sh <output html>
cat front-header > $1
sed -e '/^<!--title:/d' -e '/^<a/d' "distress.network/nav.html" >> $1
sed -e '/<\/main>/,/<nav>/d' -e '/<\/div>/p' "md-footer" >> $1
printf "%s \tbuild complete: %s\n" "[->]" "$1"
|