cfenollosa / bashblog

A single Bash script to create blogs. Download, run, write, done!
1.65k stars 226 forks source link

Changes using bb.sh -f edit /path/to/blog-post get nuked at next bb rebuild #136

Open JohnDarkhorse opened 7 years ago

JohnDarkhorse commented 7 years ago

Got my rusty brains working on how to create unique blog posts within the limits of bashblog and so invoked the -f option to edit the whole html document.

Made my inline style changes to the <body> tag and the blog post looked real nice.

Next time I ran "bb rebuild", all those changes got nuked.

What good is the -f edit option if the changes made with it are temporary?

Natfan commented 7 years ago

I personally can never get edits to stick, so I just create a new file outside of my blog folder and edit it normally in nVim with the bashblog format, then copy and paste it into a new ./bb post