File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
{% block header %}{{ this.parent.title }}{% endblock %}
4
4
{% block body %}
5
5
< h2 class ="mb-0 "> {{ this.title }}</ h2 >
6
- < p class ="meta text-muted mt-0 "> by < a href ="/blog/authors/{{ this.author }} "> {{ this.author }}</ a >
6
+ < p class ="meta text-muted mt-0 "> by < a href ="{{ this.parent.parent.children.get('authors').path + '/' + this.author }} "> {{ this.author }}</ a >
7
7
on {{ this.pub_date|dateformat('EEEE, yyyy ''MMMM d') }}</ p >
8
8
< div class ="body "> {{ this.body }}</ div >
9
9
< div class ="card bg-light ">
Original file line number Diff line number Diff line change 3
3
{% for post in posts %}
4
4
< li >
5
5
< a href ="{{ post|url }} "> {{ post.title }}</ a >
6
- < p class ="text-muted small "> by < a href ="/blog/authors/{{ post.author }} "> {{ post.author }}</ a >
6
+ < p class ="text-muted small "> by < a href ="{{ post.parent.parent.children.get('authors').path + '/' + post.author }} "> {{ post.author }}</ a >
7
7
on {{ post.pub_date|dateformat("YYYY-MM-dd") }}</ p >
8
8
</ li >
9
9
{% endfor %}
You can’t perform that action at this time.
0 commit comments