aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:13:07 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:13:07 +0100
commit256351046c482b28eed8c1197a1bc4500066f80c (patch)
tree7bbf0ac931998e623bd421fd59353c6bc06b4df9 /bin
parent14714759aeadd737124af7529f97a32e551364d8 (diff)
downloadbookup-256351046c482b28eed8c1197a1bc4500066f80c.tar.gz
bookup-256351046c482b28eed8c1197a1bc4500066f80c.tar.bz2
Fix: bibliography: remove key from _biblio.yml (2)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/compile-book1
-rwxr-xr-xbin/compile-notes1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/compile-book b/bin/compile-book
index c972600..044e2e9 100755
--- a/bin/compile-book
+++ b/bin/compile-book
@@ -35,6 +35,7 @@ cat _common.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
# Bibliography
find -name _biblio.yml | while read file; do
#cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ echo 'bibliography:' >> $OUTPUT.md
grep -v '^bibliography:' $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
done
diff --git a/bin/compile-notes b/bin/compile-notes
index cfbbc3b..0523a71 100755
--- a/bin/compile-notes
+++ b/bin/compile-notes
@@ -35,6 +35,7 @@ cat _common.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
# Bibliography
find -name _biblio.yml | while read file; do
#cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ echo 'bibliography:' >> $OUTPUT.md
grep -v '^bibliography:' $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
done