From 9ad59a4be9f90b21f760f4bf869c88e282275be1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Apr 2023 18:25:38 -0300 Subject: v2: src/bin/html: Remove empty lines from {pre,post}amble.html after processing --- v2/src/bin/html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'v2/src/bin/html') diff --git a/v2/src/bin/html b/v2/src/bin/html index a54ab68..4dabf00 100755 --- a/v2/src/bin/html +++ b/v2/src/bin/html @@ -229,6 +229,6 @@ if [ -r "$FILENAME".next ]; then export collection_head_next_html fi -envsubst < src/lib/preamble.html +envsubst < src/lib/preamble.html | sed '/^$/d' emit_body | tee "${FILENAME%.*}.htmlbody" -envsubst < src/lib/postamble.html +envsubst < src/lib/postamble.html | sed '/^$/d' -- cgit v1.2.3