header-blog.html 962 B

1234567891011121314151617181920212223242526
  1. {% load wagtailcore_tags wagtailimages_tags %}
  2. {% if page.image %}
  3. {% image page.image fill-1920x600 as image %}
  4. <div class="container-fluid hero hero--blog" style="background-image:url('{{ image.url }}')"></div>
  5. {% endif %}
  6. <div class="container">
  7. <div class="row">
  8. <div class="col-sm-12 col-md-9">
  9. <h1 class="index-header__title index-header__title--blog">{{ page.title }}</h1>
  10. {% if page.subtitle %}
  11. <p>{{ page.subtitle }}</p>
  12. {% endif %}
  13. </div>
  14. <div class="col-sm-12 col-md-7">
  15. {% if page.introduction %}
  16. <p class="index-header__introduction index-header__introduction--blog">{{ page.introduction }}</p>
  17. {% endif %}
  18. {% if page.date_published %}
  19. <div class="blog__published">
  20. {{ page.date_published }}
  21. </div>
  22. {% endif %}
  23. </div>
  24. </div>
  25. </div>