Re: [Rest2web-develop] Another wish/request
Brought to you by:
mjfoord
From: Eur I. C. G. <cl...@is...> - 2007-03-09 15:52:36
|
On Fri, Mar 09, 2007 at 02:48:38PM +0000, Michael Foord wrote: > Eur Ing Chris Green wrote: > > A request 'for the next release' maybe. > > > > Can the configuration/layout be changed so that the templates and > > stylesheets are in the same place? It makes sense because they are > > closely related and one nearly always wants to edit them both, or at > > least refer to one while you're editing the other. > > > > Simply making the default directory for the template.txt file being > > the stylesheets directory would be OK. It might be even better to > > make this directory configurable in the .ini file. > > > > Except rest2web itself has no knowledge of CSS - you can store your CSS > files wherever you want. > Yes, I'd not thought far enough. The stylesheets are, of course, referenced from the template. It is quite a common convention now though, to have all templates and stylesheets gathered together in one place. It can be done with rest2web but it's not that way 'out of the box'. > If you are using force mode there is no way of specifying where your > template file is other than the command line. To make this more > convenient you could create a batch file which runs rest2web with the > correct command line options set to keep your template file there. > I'm actually specifying where the template file is using the restindex section of the top level index.txt file now. Force mode doesn't override this does it? (I'm using force mode because there are places lower down that don't have an index.txt file) -- Chris Green |