aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/flatpagesfile
Commit message (Collapse)AuthorAgeFilesLines
* Apply pyupgrade --py36-plus.Ben Sturmfels2021-09-231-1/+1
| | | | This removes some 'u' prefixes and converts simple format() calls to f-strings.
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-1/+1
|
* Spell-check the entire documentation.Ben Sturmfels2016-09-181-4/+4
|
* Removed Routes dependency, added admin routesJoar Wandborg2012-10-201-2/+1
|
* Updated flatpages example in plugins.rst to reflect reality & point to ↵Christopher Allan Webber2012-08-201-0/+2
| | | | flatpages docs
* Rework plugin infrastructure to nix side-effectsWill Kahn-Greene2012-07-171-19/+19
| | | | | | | | | | | | | This reworks the plugin infrastructure so as to remove module-loading side-effects which were making things a pain in the ass to test. With the new system, there's no auto-registering meta class. Instead plugins do whatever they want and then specify a hooks dict that maps hook names to callables for the things they're tying into. The most common one (and the only one we've implemented so far) is "setup". This also simplifies the sampleplugin a little by moving the code to __init__.py.
* Overhaul flatpagesWill Kahn-Greene2012-07-163-93/+108
| | | | | | | | * move contents of main.py to __init__.py * update documentation in README * change the key/value configuration specification * added a recipe for passing values from the url to the template * removed some unused code
* Fix templateWill Kahn-Greene2012-07-161-1/+1
|
* Finish flatpagesplugin; add plugin docsWill Kahn-Greene2012-07-163-55/+169
|
* Flatpages first passWill Kahn-Greene2012-07-164-0/+129
This fixes the template loader so that it can load plugin templates. This adds code for registering template paths so that plugins can add their own templates. This adds the base code for the flatpagesfile plugin. It doesn't serve pages, yet, but it's pretty close.