{% if len(related_notes) > 0 %}
关联笔记 {% for link in related_notes %} {{link.text}} {% end %}
{% end %}