Skip to content
Browse files
bundles not done
  • Loading branch information
ralsina committed May 28, 2015
1 parent d155c22 commit 1dcb8cc395b1f4859d4327f031a80f125d7dce6a
Showing with 5 additions and 0 deletions.
  1. +5 −0 stories/creating-a-theme.txt
@@ -739,6 +739,11 @@ And then we can put the options in's ``GLOBAL_CONTEXT``:

Doing the same for layout-reverse, sidebar-overlay and the rest is left as an excercise for the reader.


I promised to get to bundles. Sadly I ran out of steam. To be done soon.

The End

2 comments on commit 1dcb8cc


This comment has been minimized.

Copy link

@Kwpolska Kwpolska replied May 28, 2015

Bundles are used by Nikola to speed things up by putting all JS and CSS in big files that encompass everything. In order to use them, you need to install webassets from PyPI and USE_BUNDLES needs to be set to True (which is the default setting).

In order to create bundles, you need a themes/lanyon/bundles text file. Its format is output.filename=input,files,separated,by,commas. A sample file for lanyon is:


This comment has been minimized.

Copy link
Member Author

@ralsina ralsina replied May 28, 2015

Feel free to add that to the doc :-)

Please sign in to comment.