From bc3cc7661c88246d48451cdbae804219d40f62d1 Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Mon, 15 Feb 2016 15:28:53 -0600 Subject: [PATCH] Fixed a bug where the p_header function would not fill in the title. --- src/includes/p_header.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/p_header.sh b/src/includes/p_header.sh index f3b1156..b42dfd6 100644 --- a/src/includes/p_header.sh +++ b/src/includes/p_header.sh @@ -1,3 +1,3 @@ function p_header(){ - printf "TITLE: %s\nDATE: %s\n" "$NAME" "$(date)" + printf "# %s\n## Date: %s\n" "$(basename ${NOTE%.*})" "$(date)" }