aboutsummaryrefslogtreecommitdiff
path: root/v2
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-10 18:25:38 -0300
committerEuAndreh <eu@euandre.org>2023-04-10 18:25:38 -0300
commit9ad59a4be9f90b21f760f4bf869c88e282275be1 (patch)
treebd6e499994a12e20d020d947ca2a394afb7c7e84 /v2
parentv2: <link /> to rel="{prev,next}" in <head> of collection items (diff)
downloadeuandre.org-9ad59a4be9f90b21f760f4bf869c88e282275be1.tar.gz
euandre.org-9ad59a4be9f90b21f760f4bf869c88e282275be1.tar.xz
v2: src/bin/html: Remove empty lines from {pre,post}amble.html after processing
Diffstat (limited to 'v2')
-rwxr-xr-xv2/src/bin/html4
1 files changed, 2 insertions, 2 deletions
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'