diff options
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" } |
