2016-08-04 5 views
0

list items私はのページに寄付した人のリストを作成しようとしています。ループオーバーペリカンのメタデータ返信NULL

charity-test.md:

Title: Charity Test 
Category: charities 
Template: charity 

musician-test.md

Title: Some Musician 
Category: musicians 
Template: musician 
Charities: Charity Test 

charity.html(テンプレート):

{% extends "base.html" %} 

{% block content %} 
{% include 'parts/common/header-common.html' %} 

{{ article.content }} 

<h3>Donations made to {{ article.title }} by&colon;</h3> 
<ul> 
{% for charity, articles in charities|sort %} 
    {% if charity == article.title %} 
    <li><a href="/{{ charity.url }}">{{ charity.title }}</a> ({{ categories|count }}) </li> 
    {% endif %} 
{% endfor %} 
</ul> 

{% endblock content %} 

は返す必要があります。

<h3>Donations made to Charity Test by&colon;</h3> 
<ul> 
    <li><a href="/some-musician.html">Some Musician</a>(1)</li> 
</ul> 

しかし、私は得る:

<h3>Donations made to Charity Test by&colon;</h3> 
<ul> 
    </ul> 

は私も運なし 'カテゴリ' ルートを使って試してみました。私はこの1つの周りに私の頭を得るように見えることはできません。どんな助けでも大歓迎です。

答えて

0

ペリカンが能力の限界を超えていることが判明しました。これは、このループをサポートするプラグインなしでは可能ではありません。