aboutsummaryrefslogtreecommitdiff
path: root/bin/compile-notes
diff options
context:
space:
mode:
Diffstat (limited to 'bin/compile-notes')
-rwxr-xr-xbin/compile-notes3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/compile-notes b/bin/compile-notes
index c56c56b..460f8f2 100755
--- a/bin/compile-notes
+++ b/bin/compile-notes
@@ -22,6 +22,9 @@ fi
STRUCTURE="structure/notes/$LANG"
TEMPLATES="templates/notes/$LANG"
+# Update _output.yml with language information
+sed -e "s|%%lang%%|$LANG|g" templates/_output.yml > _output.yml
+
# Remove any dangling output files
rm -f $OUTPUT.md