aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/category.html
blob: dbb7825803840b6a5668f850a6f2eca3a7a8ad2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% include common/header.html %}
<div class="row">
  <div class="col-md-8">
    <h1>{{ page.title }}</h1>
    <p>This is a complete list of posts in the "{{ page.category }}" category.</p>
    {% if site.categories[page.category].size > 0 %}
      <ul>
        {% for post in site.categories[page.category] %}
          <li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
        {% endfor %}
      </ul>
    {% else %}
    {% endif %}
  </div>
  <div class="col-md-4">
    {% include common/sidebar.html %}
  </div>
</div>
{% include common/footer.html %}