diff options
| author | Paul Buetow <paul@buetow.org> | 2022-05-29 08:55:15 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-05-29 08:55:15 +0100 |
| commit | 05760b5505df4356e5b076a3e6bf0fd0056e052f (patch) | |
| tree | 015ec3549040f38da696eaab99e129d407a5f139 /lib/notes.source.sh | |
| parent | 252432fae23e58f97b825f855ece4f6e8e1cf39f (diff) | |
strip out the git auto commit feature - as it was partly broken and difficult to fix
Diffstat (limited to 'lib/notes.source.sh')
| -rw-r--r-- | lib/notes.source.sh | 12 |
1 files changed, 8 insertions, 4 deletions
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 >> "$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" } |
