index.html 578 B

123456789101112131415161718192021
  1. {% extends "layout.html" %}
  2. {% block content %}
  3. <h2>Herzlich Willkommen bei Nach & Nach </h2>
  4. {% for card in cards %}
  5. <div class="card mb-2">
  6. <div class="card-body">
  7. <h5 class="card-title">{{card.title}}</h5>
  8. {% if card.subtitle %}
  9. <h6 class="card-subtitle mb-2 text-muted">{{card.subtitle}}</h6>
  10. {% endif %}
  11. <p class="card-text mb-0">{{card.text}}</p>
  12. {% if card.url %}
  13. <a href="{{card.url}}" class="card-link">{{card.url}}</a>
  14. {% endif %}
  15. </div>
  16. </div>
  17. {% endfor %}
  18. {% endblock %}