Fixed a bug where the p_header function would not fill in the title.

This commit is contained in:
Jon-William Lewis
2016-02-15 15:28:53 -06:00
parent 5a594b71cf
commit bc3cc7661c

View File

@@ -1,3 +1,3 @@
function p_header(){ function p_header(){
printf "TITLE: %s\nDATE: %s\n" "$NAME" "$(date)" printf "# %s\n## Date: %s\n" "$(basename ${NOTE%.*})" "$(date)"
} }