silva.fanstatic

This package provides an integration of fanstatic into Silva 3.0. In order to know how to use it, please refer to the Silva developer documentation.

Custom injector

This package provides a custom fanstatic injector called rules. It can be used like this inside the Paster configuration:

injector = rules
rules =
   if there is <!-- Here goes Fanstatic top CSS -->
   replace with all css resources

   if there is <!-- Here goes Fanstatic top JS -->
   replace with all js top resources

   if there is <!-- Here goes Fanstatic bottom JS -->
   replace with all js bottom resources

   otherwise
   insert before </head>

The rules let you look for specific markup in the generated HTML and will insert the resources there, if present.

Additional API

This package provides additional objects ExternalResources and Snippet in order to include external URLs as resources and inline snippets too.

Code repository

You can find the code of this extension in Mercurial: https://hg.infrae.com/silva.fanstatic/.

Available releases

Release version Release date Release files
silva.fanstatic 1.2 2013 10 8 16:28:53 silva.fanstatic-1.2.tar.gz
silva.fanstatic 1.1.1 2013 5 24 12:00:01 silva.fanstatic-1.1.1.tar.gz
silva.fanstatic 1.1 2012 9 3 16:51:20 silva.fanstatic-1.1.tar.gz
silva.fanstatic 1.0 2011 11 8 16:46:18 silva.fanstatic-1.0.tar.gz

License: New BSD