File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33{% block header %}{{ this.parent.title }}{% endblock %}
44{% block body %}
55 < 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 >
77 on {{ this.pub_date|dateformat('EEEE, yyyy ''MMMM d') }}</ p >
88 < div class ="body "> {{ this.body }}</ div >
99 < div class ="card bg-light ">
Original file line number Diff line number Diff line change 33 {% for post in posts %}
44 < li >
55 < 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 >
77 on {{ post.pub_date|dateformat("YYYY-MM-dd") }}</ p >
88 </ li >
99 {% endfor %}
You can’t perform that action at this time.
0 commit comments