From 05760b5505df4356e5b076a3e6bf0fd0056e052f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 29 May 2022 08:55:15 +0100 Subject: strip out the git auto commit feature - as it was partly broken and difficult to fix --- lib/notes.source.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/notes.source.sh') diff --git a/lib/notes.source.sh b/lib/notes.source.sh index 559b218..b82631d 100644 --- a/lib/notes.source.sh +++ b/lib/notes.source.sh @@ -24,11 +24,15 @@ NOTES # Extract first heading as post title. local title=$($SED -n '/^# / { s/# //; p; q; }' \ "$notes_dir/$gmi_file" | tr '"' "'") - - echo "=> ./$gmi_file $title" >> \ - "$notes_dir/index.gmi.tmp" + echo "=> ./$gmi_file $title" >> "$notes_dir/index.gmi.tmp" done < <(notes::_get_notes) +cat <> "$notes_dir/index.gmi.tmp" + +That were all notes. Hope they were useful! + +=> ../ Go back to main site +NOTES + mv "$notes_dir/index.gmi.tmp" "$notes_dir/index.gmi" - git::add gemtext "$notes_dir/index.gmi" } -- cgit v1.2.3