Commits

Daniel Greenfeld committed 57f9c7a

pointing at correct template directory

  • Participants
  • Parent commits 42df772

Comments (0)

Files changed (2)

 README
 ======
 
+A small but useful app for generating sitemaps in django-cms.
+
+Installation
+============
+
+Put cmsplugin-htmlsitemap into your python path::
+
+    pip install -e hg+https://cartwheel@bitbucket.org/cartwheel/cmsplugin-htmlsitemap#egg=cmsplugin-htmlsitemap

File cmsplugin_htmlsitemap/cms_plugins.py

 class HTMLSitemapPlugin(CMSPluginBase):
     model = HTMLSitemapPluginModel # Model where data about this plugin is saved
     name = _("HTML Sitemap Plugin") # Name of the plugin
-    render_template = "htmlsitemap/plugin.html" # template to render the plugin with
+    render_template = "cmsplugin_htmlsitemap/plugin.html" # template to render the plugin with
 
     def render(self, context, instance, placeholder):
         context.update({'instance':instance})