1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
W. Trevor King 49bf80ec39 contents: Convert StaticContent to Static, a Page subclass
Static needs a lot of the same handling as other pages, so make it a
subclass of Page.  The rename from StaticContent to Static makes for
cleaner configuration settings (STATIC_URL instead of
STATICCONTENT_URL).

All currently generated Static instances override the save_as
attribute explicitly on initialization, but it isn't hard to imagine
wanting to adjust STATIC file output based on metadata (e.g. extracted
from their source filename).  With this union, the framework for
manipulating URLs and filenames is shared between all source file
types.
2013-03-10 23:19:56 -07:00
..
plugins added unique filtering and config limit param 2013-03-03 22:18:59 -08:00
tests Some doc + various enhancements 2013-03-10 22:57:08 -07:00
themes add disqus_url to comment js block 2013-03-05 23:42:42 -08:00
tools Fixed the stopserver command to use the correct Makefile syntax 2013-03-09 21:27:19 +00:00
__init__.py delete output directory properly 2013-03-03 22:14:05 -08:00
contents.py contents: Convert StaticContent to Static, a Page subclass 2013-03-10 23:19:56 -07:00
generators.py contents: Convert StaticContent to Static, a Page subclass 2013-03-10 23:19:56 -07:00
log.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
paginator.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
readers.py Fix a test in the asciidoc reader, and add asciidoc to travis so that 2013-03-03 21:43:04 -08:00
rstdirectives.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
server.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
settings.py contents: Convert StaticContent to Static, a Page subclass 2013-03-10 23:19:56 -07:00
signals.py Add a pages_generator_finalized signal. 2013-02-10 12:42:54 -08:00
urlwrappers.py Some doc + various enhancements 2013-03-10 22:57:08 -07:00
utils.py Some doc + various enhancements 2013-03-10 22:57:08 -07:00
writers.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00