1. Luke Plant
  2. lukeplant_python

Commits

Luke Plant  committed a6cc3df

Fixed HTML validity

  • Participants
  • Parent commits d24fcb9
  • Branches default

Comments (0)

Files changed (1)

File lukeplant_me_uk/bibleverses/templates/scheme.html

View file
  • Ignore whitespace
 {% for item in scheme.items %}
 <li>
   <a class="biblelink" href="{{ item.verse.verse|esvlink }}">{{ item.verse.verse }}</a>
+  {% if item.entries %}
   <ul>
     {% for entry in item.entries %}
      <li class="topicentry"><span class="topicheading">{{ entry.topic }}</span>
      </li>
     {% endfor %}
   </ul>
+  {% endif %}
   <blockquote class="bible"><p>{{ item.verse.texts.ESV|linebreaksbr }}</p></blockquote>
 </li>
 {% endfor %}