Parcourir la source

Fix render html snippet contents rather than its name. (#320)

Russ Ferriday il y a 4 ans
Parent
commit
e3321f9c88

+ 1 - 1
coderedcms/templates/coderedcms/blocks/reusable_content_block.html

@@ -1,5 +1,5 @@
 {% load wagtailcore_tags %}
 
 <div {% if self.settings.custom_id %}id="{{self.settings.custom_id}}"{% endif %} class="block-html {{ self.settings.custom_css_class }}">
-  {% include_block self.content %}
+  {% include_block self.content.content %}
 </div>