This project is read-only.

Using LESS to preprocess CSS in

Topics: Themes
Oct 23, 2012 at 5:02 AM

The LESS docs here

say: "Make sure you include your stylesheets before the script."

However, seems to make that impossible by rewriting all the links to *.js file and putting them before the style sheets.

I've tried everything I can think of including putting the files in a subdirectory and using a relative path. I'm very hesitant to mess with the BlogEngine.Net code.

Is there any way to get LESS to work with CSS in BlogEngine.Net? Any way to force the engine to allow me to order the Javascript entry after the *.less reference?

Oct 23, 2012 at 3:38 PM

It was fixed in 2.7. You might also look at this transformer, it should work with optimization DLL BlogEngine uses.

Oct 23, 2012 at 10:52 PM

rtur -- thanks  very much.