1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
W. Trevor King 61f05672e6 content: Convert StaticContent.filepath to .filename
For reasons that are unclear to me, StaticContent introduces the
`filepath` attribute rather than using the existing (and semantically
equivalent) Page.filename.  This has caused confusion before [1], and
it's probably a good idea to merge the two.

While I was touching the line, I also updated the string formatting in
StaticGenerator.generate_output to use the forward compatible
'{}'.format() syntax.

[1]: https://github.com/getpelican/pelican/issues/162#issuecomment-3000363
2013-01-18 07:40:42 -05:00
..
plugins Annotate py3k code when needed. 2013-01-11 18:55:04 +01:00
themes Strip tags from title in simple index. Fixes #612 2012-12-02 16:10:11 -08:00
tools Annotate py3k code when needed. 2013-01-11 18:55:04 +01:00
__init__.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
contents.py content: Convert StaticContent.filepath to .filename 2013-01-18 07:40:42 -05:00
generators.py content: Convert StaticContent.filepath to .filename 2013-01-18 07:40:42 -05:00
log.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
paginator.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
readers.py Annotate py3k code when needed. 2013-01-11 18:55:04 +01:00
rstdirectives.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
server.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
settings.py Merge pull request #661 from wking/settings-abspath 2013-01-15 10:56:57 -08:00
signals.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
utils.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
writers.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00