Media Types/Display

From GNU MediaGoblin Wiki
Revision as of 20:29, 22 June 2012 by Joar (talk | contribs)
Jump to navigation Jump to search
I'm currently working on this page
Joar 16:29, 22 June 2012 (EDT)

Media type display pages are media type-specific Jinja2 templates.

Configure the media type

The path for the media type display template is configured in the MEDIA_MANAGER object for each media type. The MEDIA_MANAGER is configured in (mediagoblin/)media_types/$MEDIA_TYPE/__init__.py. The path to the template should be relative to the mediagoblin/templates/mediagoblin directory.