File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3
3
{% block title %}{{ this.title }}{% endblock %}
4
4
{% block header %}{{ this.title }}{% endblock %}
5
5
{% block body %}
6
- < h1 > Categories</ h1 >
6
+ < h2 > Categories</ h2 >
7
7
{{ render_categories(this) }}
8
- < hr >
9
8
{% endblock %}
Original file line number Diff line number Diff line change 3
3
{% block title %}{{ this.parent.title }} - {{ this.name }}{% endblock %}
4
4
{% block header %}{{ this.parent.title }}{% endblock %}
5
5
{% block body %}
6
- < h2 > All posts tagged "{{ this.name }}"</ h2 >
6
+ < h2 > All posts categorized "{{ this.name }}"</ h2 >
7
7
{{ render_posts(this.children) }}
8
8
< hr >
9
9
< strong > < a href ="{{ this.parent.path }} "> All Categories</ a > </ strong >
Original file line number Diff line number Diff line change 1
1
{% from "macros/posts.html" import render_posts %}
2
2
3
3
{% macro render_categories(categories) %}
4
- < ul >
4
+ < ul class =" list-inline " >
5
5
{% for category in site.query(categories.path) %}
6
- < li > < a href ="{{ category|url }} "> {{ category.name }}</ a > </ li >
6
+ < li class =" list-inline-item " > < a href ="{{ category|url }} "> {{ category.name }}</ a > </ li >
7
7
{% endfor %}
8
8
</ ul >
9
9
{% endmacro %}
You can’t perform that action at this time.
0 commit comments