File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% extends "layout.html" %}
2
2
{% from "macros/posts.html" import render_posts %}
3
- {% block title %}{{ this.name }}{% endblock %}
4
- {% block header %}Archive: CC Technical Blog (2007-2014) {% endblock %}
3
+ {% block title %}{{ this.parent.parent.children.get('entries').title + ' - ' + this. name }}{% endblock %}
4
+ {% block header %}{{ this.parent.parent.children.get('entries').title }} {% endblock %}
5
5
{% block body %}
6
6
< h2 > Posts by {{ this.name }}</ h2 >
7
7
{{ render_posts(this.children) }}
8
8
< hr >
9
- < strong > < a href ="/blog/authors "> All Authors</ a > </ strong >
9
+ < strong > < a href ="{{ this.parent.path }} "> All Authors</ a > </ strong >
10
10
{% endblock %}
Original file line number Diff line number Diff line change 1
1
{% extends "layout.html" %}
2
2
{% from "macros/authors.html" import render_authors %}
3
- {% block title %}Authors{% endblock %}
4
- {% block header %}Archive: CC Technical Blog (2007-2014) {% endblock %}
3
+ {% block title %}{{ this.parent.children.get('entries').title + ' - Authors' }} {% endblock %}
4
+ {% block header %}{{ this.parent.children.get('entries').title }} {% endblock %}
5
5
{% block body %}
6
6
< h2 > Authors</ h2 >
7
- {{ render_authors() }}
7
+ {{ render_authors(this ) }}
8
8
{% endblock %}
You can’t perform that action at this time.
0 commit comments