Skip to content

Commit 2d2a90a

Browse files
authored
Merge pull request creativecommons#332 from creativecommons/update_category_posts
Update category posts.
2 parents 3a695a9 + 6f3bda8 commit 2d2a90a

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

themes/vocabulary_theme/templates/blog-category.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
{% from "macros/posts.html" import render_posts %}
44

5-
{% block title %}{{ this.name + ' - ' + this.parent.parent.children.get('entries').title }}{% endblock %}
6-
{% block header %}{{ this.parent.parent.children.get('entries').title }}{% endblock %}
75
{% block body %}
8-
<h2>All posts categorized "{{ this.name }}"</h2>
9-
{{ render_posts(this.children) }}
10-
<hr>
11-
<strong><a href="{{ this.parent|url }}">All Categories</a></strong>
6+
<div class="all-categories">
7+
<div class="title">
8+
<div class="container">
9+
<h1>All posts categorized "{{ this.name }}"</h1>
10+
<a class="button small margin-top-bigger" href="{{ this.parent|url }}">See all categories</a>
11+
</div>
12+
</div>
13+
<div class="categories-list container">
14+
{{ render_posts(this.children) }}
15+
</div>
16+
</div>
1217
{% endblock %}

0 commit comments

Comments
 (0)