[ckan-dev] ckanext-pages: How to add template stuff

Ralf user66 at arcor.de
Fri Nov 15 11:50:51 UTC 2013


Hi,

I am using ckanext-pages to add some static pages to my CKAN site.

Question:
How can I use or integrate the template stuff from regular CKAN pages  
(like "about") into those pages? For example, I want to add disqus to  
a page. In regular pages this is done via

        {% block disqus_comments %}
           {{ h.disqus_comments() }}
        {% endblock %}

Is this also possible within pages created with ckanext-pages?

Cheers
Ralf



More information about the ckan-dev mailing list