12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {% extends "base.html" %}
- {% if tag %}
- {% block title %}
- {% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}: {{ tag }}
- {% endblock %}
- {% block search_description %}Viewing all blog posts sorted by the tag {{ tag }}{% endblock %}
- {% endif %}
- {% block content %}
- {% if not tag %}
- {% include "base/include/header-index.html" %}
- {% endif %}
- <div class="container">
- {% if tag %}
- <div class="row">
- <div class="col-md-12">
- <h1 class="index-header__title">Blog</h1>
- </div>
- <div class="col-md-12">
- <p class="index-header__introduction">Viewing all blog posts sorted by the tag <span class="blog-tags__tag">{{ tag }}</span>.</p>
- </div>
- </div>
- {% endif %}
- {% if page.get_child_tags() %}
- <ul class="blog-tags">
- <li><span class="blog-tags__pill blog-tags__pill--selected">All</span></li>
- {% for tag in page.get_child_tags() %}
- <li><a class="blog-tags__pill" aria-label="Filter by tag name {{ tag }}" href="{{ tag.url }}">{{ tag }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- <div class="blog-list">
- {% if posts %}
- {% for blog in posts %}
- {% include "includes/card/blog-listing-card.html" %}
- {% endfor %}
- {% else %}
- <div class="col-md-12">
- <p>Oh, snap. Looks like we were too busy baking to write any blog posts. Sorry.</p>
- </div>
- {% endif %}
- </div>
- </div>
- {% endblock content %}
|