blog_page.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {% extends "base.html" %}
  2. {% block content %}
  3. {% include "base/include/header-blog.html" %}
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-md-8">
  7. <div class="blog__meta">
  8. {% if page.authors %}
  9. <div class="blog__avatars">
  10. {% for author in page.authors %}
  11. <div class="blog__author">{{ image(author.image, "fill-50x50-c100", class="blog__avatar") }}
  12. {{ author.first_name }} {{ author.last_name }}</div>
  13. {% endfor %}
  14. </div>
  15. {% endif %}
  16. </div>
  17. {{ page.body }}
  18. {% if page.get_tags %}
  19. <p class="blog__tag-introduction">Find more blog posts with similar tags</p>
  20. <div class="blog-tags blog-tags--condensed">
  21. <span class="u-sr-only">Filter blog posts by tag</span>
  22. {% for tag in page.get_tags %}
  23. <a href="{{ tag.url }}" class="blog-tags__pill">{{ tag }}</a>
  24. {% endfor %}
  25. </div>
  26. {% endif %}
  27. </div>
  28. </div>
  29. </div>
  30. {% endblock content %}