Skip to content

Commit 44d9dc6

Browse files
authored
Merge pull request creativecommons#333 from creativecommons/update_series_posts
Update series posts page.
2 parents 34fd0ed + 6ca7046 commit 44d9dc6

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

themes/vocabulary_theme/templates/blog-series.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 in series "{{ this.name }}"</h2>
9-
{{ render_posts(this.children) }}
10-
<hr>
11-
<strong><a href="{{ this.parent|url }}">All Series</a></strong>
6+
<div class="all-series">
7+
<div class="title">
8+
<div class="container">
9+
<h1>All posts in series "{{ this.name }}"</h1>
10+
<a class="button small margin-top-bigger" href="{{ this.parent|url }}">See all series</a>
11+
</div>
12+
</div>
13+
<div class="series-list container">
14+
{{ render_posts(this.children) }}
15+
</div>
16+
</div>
1217
{% endblock %}

webpack/sass/main.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,7 @@ code {
196196

197197
.blog-entries {
198198
.column {
199-
&:not(:nth-last-child(-n+3)) {
200-
border-bottom: 0.1875rem solid $color-light-gray !important;
201-
}
199+
border-bottom: 0.1875rem solid $color-light-gray;
202200
}
203201

204202
.blog-entry {

0 commit comments

Comments
 (0)