diff --git a/README.md b/README.md index cb08b11..c634c7f 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,7 @@ burrow update-git # pull latest git repo for gopher dir, if exists - `edit-config` will open your burrow configuration file for easy editing. - `phlog` will prompt for the title of a new post, then open it in your default -`$EDITOR`. By default it will provide you a template, but you can override this -by including a `.template` file in your phlog directory. +`$EDITOR`. - `gophermap` will open a gophermap file for editing. This will remove any `type i` formatting and allow comments to be added in natural text. diff --git a/burrow b/burrow index acc3389..6a7725c 100755 --- a/burrow +++ b/burrow @@ -383,10 +383,7 @@ make_post_temp () { temp_post=$(mktemp -t "$(basename "$0").post.XXXXXXX") || \ die "Failed to create temporary file" 1 - # Populate tempfile with either template or default template - if [ -f "${post_dir}/.template" ]; then - cat "${post_dir}/.template" > "$temp_post" - elif [ -n "$title" ]; then + if [ -n "$title" ]; then { printf "%s\\n%s\\n" "----------------------------------------" "$title" if $use_date; then date +"%B %d$(day_suffix), %Y" diff --git a/burrow.1 b/burrow.1 index b24ddbf..eef0a30 100644 --- a/burrow.1 +++ b/burrow.1 @@ -10,10 +10,7 @@ modification, and maintenance of a gopher hole. .TP .B phlog Prompt for the title of a new post, then open it in your default -$EDITOR. By default it will provide you a template, but you can override this -by including a -.I .template -file in your phlog directory. +$EDITOR. .TP .B gophermap Open a gophermap file relative to your gopher directory for editing,