bashblog icon indicating copy to clipboard operation
bashblog copied to clipboard

Idea: configurable file extensions and output paths

Open dertuxmalwieder opened this issue 6 years ago • 0 comments

I am currently evaluating bashblog which seems to be the perfect solution for my current use case: basically, a hand-written PHP website (please don't judge me, it was the right choice this time ;-)) which has everything but a blog section because this was still much less work than retro-fitting one of the ~ 500 available static CMSs.

While playing with the .config file, I noticed two missing features. Let me suggest them:

  1. Configurable file extensions. My website has a PHP header which can not be used by bashblog because I can't generate PHP files. As there is no real reason for that, I would like to have a way to replace .html by (e.g.) .php.
  2. Configurable output paths. My HTML (or PHP :-)) files are publicly readable for obvious reasons. Right now, bb.sh seems to enforce to be in the same folder as well. It should be possible to replace ./ by some/folder/ with a .config setting.

What do you think?

dertuxmalwieder avatar Nov 06 '17 01:11 dertuxmalwieder