veged / borschik

Main repository moved to https://github.com/bem/borschik. Extendable builder for text-based file formats.
http://bem.info/articles/borschik/
94 stars 0 forks source link

Add possibility to rewrite urls without freezing filenames #54

Open tadatuta opened 11 years ago

tadatuta commented 11 years ago

freeze field in config copies images according to mask and freezes their filenames into hash sum. paths makes it possible to rewrite urls without changing filenames but doesn't copy files.

Please provide possibility to rewrite urls without freezing filenames.

arikon commented 11 years ago

@tadatuta Could you provide example of the config and description of what should happen when using it?

alexbaumgertner commented 11 years ago

It may look like:

{ "freeze_paths" : { "./": "templates/" },

"freeze": "no"

}

tadatuta commented 11 years ago

If filenames of different files match we should throw or optionaly overwrite.

UPD: Felix suggested to add incremental number after same filenames.