On Tuesday, 16 December 2014 19:27:41 UTC, Andrew Nguyen wrote:
>
> I'm having some problems getting some of my content to appear on my
> detailed page view, which I have in two separate html files that are being
> pulled in using {% include %}. Inside my two files, slider.htmland
> sidebar.html
Andrew,
I'm not sure, but since no one else has answered yet...
Maybe you can't pass an object as a keyword argument to include,
can only pass strings? I've done it often with strings, but never
with an object. Try:
{% include "sidebar.html" title=object.title %}
and in the included file
I'm having some problems getting some of my content to appear on my
detailed page view, which I have in two separate html files that are being
pulled in using {% include %}. Inside my two files, slider.htmland
sidebar.html, I'm using tags like {{article.title}} to grab specific
information I
3 matches
Mail list logo