commit 8a8ab2cab19d2a7d8b45549069785ddd49b717a7
parent 5a9f28c677f30bfacf82c5dadd03513e72b328b6
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date: Mon, 7 Nov 2016 11:53:28 -0500
Remove trailling spaces.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/functions/create-html-sections b/functions/create-html-sections
@@ -37,7 +37,7 @@ create_html_sections () {
--variable=url:"$BASE_URL/${url#*/}" \
--template="$TPL_PANDOC_PATH/${tplname}-index.inc.html" \
-t html5 \
- -o "$tmp_folder/$markdown_date-${outputname%.*}".inc.html
+ -o "$tmp_folder/$markdown_date-${outputname%.*}".inc.html
done
if test "$(ls -A "$tmp_folder/")"; then
@@ -45,13 +45,13 @@ create_html_sections () {
# Create an HTML file with all the includes in descending order
pandoc -t html5 $(find "$tmp_folder/" -type f -name \*.inc.html | sort -nr) \
-o "$tmp_folder/tmp.html" \
- --parse-raw
+ --parse-raw
# Merge the "includes.html" and "index.md" to create the section page list
pandoc -t html5 "$indexsubdir/index.md" -s \
--template="$TPL_PANDOC_PATH/${tplname}-index.html" \
-A "$tmp_folder/tmp.html" \
- -o "$indexsubdir/index.html"
+ -o "$indexsubdir/index.html"
fi
done