aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:10:19 +0100
committerSilvio Rhatto <rhatto@riseup.net>2024-06-10 16:10:19 +0100
commit14714759aeadd737124af7529f97a32e551364d8 (patch)
treee990a40ae11634d5817f646c9b51d0a01cbc39a4 /bin
parent621d0eb476492ef9c8cb0325743bfe3c8efc9b9d (diff)
downloadbookup-14714759aeadd737124af7529f97a32e551364d8.tar.gz
bookup-14714759aeadd737124af7529f97a32e551364d8.tar.bz2
Fix: bibliography: remove key from _biblio.yml
Diffstat (limited to 'bin')
-rwxr-xr-xbin/compile-book3
-rwxr-xr-xbin/compile-notes3
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/compile-book b/bin/compile-book
index 73aef22..c972600 100755
--- a/bin/compile-book
+++ b/bin/compile-book
@@ -34,7 +34,8 @@ cat _common.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
# Bibliography
find -name _biblio.yml | while read file; do
- cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ #cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ grep -v '^bibliography:' $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
done
# YAML headers
diff --git a/bin/compile-notes b/bin/compile-notes
index fcf9c74..cfbbc3b 100755
--- a/bin/compile-notes
+++ b/bin/compile-notes
@@ -34,7 +34,8 @@ cat _common.yml >> $OUTPUT.md ; echo "" >> $OUTPUT.md
# Bibliography
find -name _biblio.yml | while read file; do
- cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ #cat $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
+ grep -v '^bibliography:' $file >> $OUTPUT.md ; echo "" >> $OUTPUT.md
done
# YAML headers